all repos — telegram-bot-api @ 3beddeb22ff60cfbace496981642d4b926df41c2

Golang bindings for the Telegram Bot API

Fix Chat permissions mapping
Kurd 7689609+Alexkurd@users.noreply.github.com
Sun, 18 Feb 2024 18:28:49 +0300
commit

3beddeb22ff60cfbace496981642d4b926df41c2

parent

8d235002285e104f167a231948b72bf286f5776e

1 files changed, 12 insertions(+), 12 deletions(-)

jump to
M types.gotypes.go

@@ -2431,32 +2431,32 @@ // CanSendAudios restricted only.

// True, if the user is allowed to send audios // // optional - CanSendAudios bool + CanSendAudios bool `json:"can_send_audios,omitempty"` // CanSendDocuments restricted only. // True, if the user is allowed to send documents // // optional - CanSendDocuments bool + CanSendDocuments bool `json:"can_send_documents,omitempty"` // CanSendPhotos is restricted only. // True, if the user is allowed to send photos // // optional - CanSendPhotos bool + CanSendPhotos bool `json:"can_send_photos,omitempty"` // CanSendVideos restricted only. // True, if the user is allowed to send videos // // optional - CanSendVideos bool + CanSendVideos bool `json:"can_send_videos,omitempty"` // CanSendVideoNotes restricted only. // True, if the user is allowed to send video notes // // optional - CanSendVideoNotes bool + CanSendVideoNotes bool `json:"can_send_video_notes,omitempty"` // CanSendVoiceNotes restricted only. // True, if the user is allowed to send voice notes // // optional - CanSendVoiceNotes bool + CanSendVoiceNotes bool `json:"can_send_voice_notes,omitempty"` // CanSendPolls restricted only. // True, if the user is allowed to send polls //

@@ -2563,27 +2563,27 @@ CanSendMessages bool `json:"can_send_messages,omitempty"`

// CanSendAudios is true, if the user is allowed to send audios // // optional - CanSendAudios bool + CanSendAudios bool `json:"can_send_audios,omitempty"` // CanSendDocuments is true, if the user is allowed to send documents // // optional - CanSendDocuments bool + CanSendDocuments bool `json:"can_send_documents,omitempty"` // CanSendPhotos is true, if the user is allowed to send photos // // optional - CanSendPhotos bool + CanSendPhotos bool `json:"can_send_photos,omitempty"` // CanSendVideos is true, if the user is allowed to send videos // // optional - CanSendVideos bool + CanSendVideos bool `json:"can_send_videos,omitempty"` // CanSendVideoNotes is true, if the user is allowed to send video notes // // optional - CanSendVideoNotes bool + CanSendVideoNotes bool `json:"can_send_video_notes,omitempty"` // CanSendVoiceNotes is true, if the user is allowed to send voice notes // // optional - CanSendVoiceNotes bool + CanSendVoiceNotes bool `json:"can_send_voice_notes,omitempty"` // CanSendPolls is true, if the user is allowed to send polls, implies // can_send_messages //