all repos — telegram-bot-api @ 5063835088bbbfbda31478e5aa1666b1a3a90519

Golang bindings for the Telegram Bot API

feat: add premium animation into message struct
temamagic arteom95@gmail.com
Mon, 20 Jun 2022 05:13:22 +0300
commit

5063835088bbbfbda31478e5aa1666b1a3a90519

parent

4b88e970a11984109b6cea21a9ce581cc9d4bc00

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M types.gotypes.go

@@ -449,6 +449,11 @@ // For backward compatibility, when this field is set, the document field will also be set;

// // optional Animation *Animation `json:"animation,omitempty"` + // PremiumAnimation message is an animation, information about the animation. + // For backward compatibility, when this field is set, the document field will also be set; + // + // optional + PremiumAnimation *Animation `json:"premium_animation,omitempty"` // Audio message is an audio file, information about the file; // // optional