mirror of
https://github.com/tucnak/telebot
synced 2024-11-05 06:00:58 +00:00
chat: add has_restricted_voice_and_video_messages field
This commit is contained in:
parent
8042463d7f
commit
bd66ef87a9
1
chat.go
1
chat.go
@ -57,6 +57,7 @@ type Chat struct {
|
||||
ChatLocation *ChatLocation `json:"location,omitempty"`
|
||||
Private bool `json:"has_private_forwards,omitempty"`
|
||||
Protected bool `json:"has_protected_content,omitempty"`
|
||||
NoVoiceAndVideo bool `json:"has_restricted_voice_and_video_messages"`
|
||||
}
|
||||
|
||||
type ChatLocation struct {
|
||||
|
Loading…
Reference in New Issue
Block a user