From bd66ef87a9cd0df6d9566db2129e7f57e3d9a2c9 Mon Sep 17 00:00:00 2001 From: Demian Date: Wed, 5 Oct 2022 23:31:01 +0300 Subject: [PATCH] chat: add has_restricted_voice_and_video_messages field --- chat.go | 1 + 1 file changed, 1 insertion(+) diff --git a/chat.go b/chat.go index 80fb54a..cfb4da8 100644 --- a/chat.go +++ b/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 {