chat: add has_restricted_voice_and_video_messages field

This commit is contained in:
Demian 2022-10-05 23:31:01 +03:00
parent 8042463d7f
commit bd66ef87a9

View File

@ -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 {