Fix Chat permissions mapping
parent
8d23500228
commit
3beddeb22f
24
types.go
24
types.go
|
@ -2431,32 +2431,32 @@ type ChatMember struct {
|
||||||
// True, if the user is allowed to send audios
|
// True, if the user is allowed to send audios
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
CanSendAudios bool
|
CanSendAudios bool `json:"can_send_audios,omitempty"`
|
||||||
// CanSendDocuments restricted only.
|
// CanSendDocuments restricted only.
|
||||||
// True, if the user is allowed to send documents
|
// True, if the user is allowed to send documents
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
CanSendDocuments bool
|
CanSendDocuments bool `json:"can_send_documents,omitempty"`
|
||||||
// CanSendPhotos is restricted only.
|
// CanSendPhotos is restricted only.
|
||||||
// True, if the user is allowed to send photos
|
// True, if the user is allowed to send photos
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
CanSendPhotos bool
|
CanSendPhotos bool `json:"can_send_photos,omitempty"`
|
||||||
// CanSendVideos restricted only.
|
// CanSendVideos restricted only.
|
||||||
// True, if the user is allowed to send videos
|
// True, if the user is allowed to send videos
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
CanSendVideos bool
|
CanSendVideos bool `json:"can_send_videos,omitempty"`
|
||||||
// CanSendVideoNotes restricted only.
|
// CanSendVideoNotes restricted only.
|
||||||
// True, if the user is allowed to send video notes
|
// True, if the user is allowed to send video notes
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
CanSendVideoNotes bool
|
CanSendVideoNotes bool `json:"can_send_video_notes,omitempty"`
|
||||||
// CanSendVoiceNotes restricted only.
|
// CanSendVoiceNotes restricted only.
|
||||||
// True, if the user is allowed to send voice notes
|
// True, if the user is allowed to send voice notes
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
CanSendVoiceNotes bool
|
CanSendVoiceNotes bool `json:"can_send_voice_notes,omitempty"`
|
||||||
// CanSendPolls restricted only.
|
// CanSendPolls restricted only.
|
||||||
// True, if the user is allowed to send polls
|
// True, if the user is allowed to send polls
|
||||||
//
|
//
|
||||||
|
@ -2563,27 +2563,27 @@ type ChatPermissions struct {
|
||||||
// CanSendAudios is true, if the user is allowed to send audios
|
// CanSendAudios is true, if the user is allowed to send audios
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
CanSendAudios bool
|
CanSendAudios bool `json:"can_send_audios,omitempty"`
|
||||||
// CanSendDocuments is true, if the user is allowed to send documents
|
// CanSendDocuments is true, if the user is allowed to send documents
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
CanSendDocuments bool
|
CanSendDocuments bool `json:"can_send_documents,omitempty"`
|
||||||
// CanSendPhotos is true, if the user is allowed to send photos
|
// CanSendPhotos is true, if the user is allowed to send photos
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
CanSendPhotos bool
|
CanSendPhotos bool `json:"can_send_photos,omitempty"`
|
||||||
// CanSendVideos is true, if the user is allowed to send videos
|
// CanSendVideos is true, if the user is allowed to send videos
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
CanSendVideos bool
|
CanSendVideos bool `json:"can_send_videos,omitempty"`
|
||||||
// CanSendVideoNotes is true, if the user is allowed to send video notes
|
// CanSendVideoNotes is true, if the user is allowed to send video notes
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
CanSendVideoNotes bool
|
CanSendVideoNotes bool `json:"can_send_video_notes,omitempty"`
|
||||||
// CanSendVoiceNotes is true, if the user is allowed to send voice notes
|
// CanSendVoiceNotes is true, if the user is allowed to send voice notes
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
CanSendVoiceNotes bool
|
CanSendVoiceNotes bool `json:"can_send_voice_notes,omitempty"`
|
||||||
// CanSendPolls is true, if the user is allowed to send polls, implies
|
// CanSendPolls is true, if the user is allowed to send polls, implies
|
||||||
// can_send_messages
|
// can_send_messages
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue