File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,10 @@ type User struct {
183
183
//
184
184
// optional
185
185
IsBot bool `json:"is_bot,omitempty"`
186
+ // IsPremium true, if user has Telegram Premium
187
+ //
188
+ // optional
189
+ IsPremium bool `json:"is_premium,omitempty"`
186
190
// FirstName user's or bot's first name
187
191
FirstName string `json:"first_name"`
188
192
// LastName user's or bot's last name
@@ -445,6 +449,11 @@ type Message struct {
445
449
//
446
450
// optional
447
451
Animation * Animation `json:"animation,omitempty"`
452
+ // PremiumAnimation message is an animation, information about the animation.
453
+ // For backward compatibility, when this field is set, the document field will also be set;
454
+ //
455
+ // optional
456
+ PremiumAnimation * Animation `json:"premium_animation,omitempty"`
448
457
// Audio message is an audio file, information about the file;
449
458
//
450
459
// optional
You can’t perform that action at this time.
0 commit comments