Skip to content

Commit

Permalink
chat: add has_restricted_voice_and_video_messages field
Browse files Browse the repository at this point in the history
  • Loading branch information
demget committed Oct 5, 2022
1 parent 8042463 commit bd66ef8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bd66ef8

Please sign in to comment.