Merge pull request #560 from temamagic/premium-update Premium update
Syfaro syfaro@huefox.com
Wed, 19 Oct 2022 20:30:57 -0400
1 files changed,
9 insertions(+),
0 deletions(-)
jump to
M
types.go
→
types.go
@@ -183,6 +183,10 @@ // IsBot true, if this user is a bot
// // optional IsBot bool `json:"is_bot,omitempty"` + // IsPremium true, if user has Telegram Premium + // + // optional + IsPremium bool `json:"is_premium,omitempty"` // FirstName user's or bot's first name FirstName string `json:"first_name"` // LastName user's or bot's last name@@ -445,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