Describes actions that a non-administrator user is allowed to take in a chat.
More...
#include <Types.h>
|
| std::optional< bool > | canSendMessages { } |
| | Optional. True, if the user is allowed to send text messages, rich messages, contacts, giveaways, giveaway winners, invoices, locations and venues.
|
| std::optional< bool > | canSendAudios { } |
| | Optional. True, if the user is allowed to send audios.
|
| std::optional< bool > | canSendDocuments { } |
| | Optional. True, if the user is allowed to send documents.
|
| std::optional< bool > | canSendPhotos { } |
| | Optional. True, if the user is allowed to send photos.
|
| std::optional< bool > | canSendVideos { } |
| | Optional. True, if the user is allowed to send videos.
|
| std::optional< bool > | canSendVideoNotes { } |
| | Optional. True, if the user is allowed to send video notes.
|
| std::optional< bool > | canSendVoiceNotes { } |
| | Optional. True, if the user is allowed to send voice notes.
|
| std::optional< bool > | canSendPolls { } |
| | Optional. True, if the user is allowed to send polls and checklists.
|
| std::optional< bool > | canSendOtherMessages { } |
| | Optional. True, if the user is allowed to send animations, games, stickers and use inline bots.
|
| std::optional< bool > | canAddWebPagePreviews { } |
| | Optional. True, if the user is allowed to add web page previews to their messages.
|
| std::optional< bool > | canReactToMessages { } |
| | Optional. True, if the user is allowed to react to messages. If omitted, defaults to the value of can_send_messages.
|
| std::optional< bool > | canEditTag { } |
| | Optional. True, if the user is allowed to edit their own tag. If omitted, defaults to the value of can_pin_messages.
|
| std::optional< bool > | canChangeInfo { } |
| | Optional. True, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups.
|
| std::optional< bool > | canInviteUsers { } |
| | Optional. True, if the user is allowed to invite new users to the chat.
|
| std::optional< bool > | canPinMessages { } |
| | Optional. True, if the user is allowed to pin messages. Ignored in public supergroups.
|
| std::optional< bool > | canManageTopics { } |
| | Optional. True, if the user is allowed to create forum topics. If omitted, defaults to the value of can_pin_messages.
|
Describes actions that a non-administrator user is allowed to take in a chat.
Definition at line 2810 of file Types.h.
◆ Ptr
◆ canAddWebPagePreviews
| std::optional<bool> TgBot::ChatPermissions::canAddWebPagePreviews { } |
Optional. True, if the user is allowed to add web page previews to their messages.
Definition at line 2863 of file Types.h.
◆ canChangeInfo
| std::optional<bool> TgBot::ChatPermissions::canChangeInfo { } |
Optional. True, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups.
Definition at line 2881 of file Types.h.
◆ canEditTag
| std::optional<bool> TgBot::ChatPermissions::canEditTag { } |
Optional. True, if the user is allowed to edit their own tag. If omitted, defaults to the value of can_pin_messages.
Definition at line 2875 of file Types.h.
◆ canInviteUsers
| std::optional<bool> TgBot::ChatPermissions::canInviteUsers { } |
Optional. True, if the user is allowed to invite new users to the chat.
Definition at line 2886 of file Types.h.
◆ canManageTopics
| std::optional<bool> TgBot::ChatPermissions::canManageTopics { } |
Optional. True, if the user is allowed to create forum topics. If omitted, defaults to the value of can_pin_messages.
Definition at line 2897 of file Types.h.
◆ canPinMessages
| std::optional<bool> TgBot::ChatPermissions::canPinMessages { } |
Optional. True, if the user is allowed to pin messages. Ignored in public supergroups.
Definition at line 2891 of file Types.h.
◆ canReactToMessages
| std::optional<bool> TgBot::ChatPermissions::canReactToMessages { } |
Optional. True, if the user is allowed to react to messages. If omitted, defaults to the value of can_send_messages.
Definition at line 2869 of file Types.h.
◆ canSendAudios
| std::optional<bool> TgBot::ChatPermissions::canSendAudios { } |
Optional. True, if the user is allowed to send audios.
Definition at line 2822 of file Types.h.
◆ canSendDocuments
| std::optional<bool> TgBot::ChatPermissions::canSendDocuments { } |
Optional. True, if the user is allowed to send documents.
Definition at line 2827 of file Types.h.
◆ canSendMessages
| std::optional<bool> TgBot::ChatPermissions::canSendMessages { } |
Optional. True, if the user is allowed to send text messages, rich messages, contacts, giveaways, giveaway winners, invoices, locations and venues.
Definition at line 2817 of file Types.h.
◆ canSendOtherMessages
| std::optional<bool> TgBot::ChatPermissions::canSendOtherMessages { } |
Optional. True, if the user is allowed to send animations, games, stickers and use inline bots.
Definition at line 2858 of file Types.h.
◆ canSendPhotos
| std::optional<bool> TgBot::ChatPermissions::canSendPhotos { } |
Optional. True, if the user is allowed to send photos.
Definition at line 2832 of file Types.h.
◆ canSendPolls
| std::optional<bool> TgBot::ChatPermissions::canSendPolls { } |
Optional. True, if the user is allowed to send polls and checklists.
Definition at line 2852 of file Types.h.
◆ canSendVideoNotes
| std::optional<bool> TgBot::ChatPermissions::canSendVideoNotes { } |
Optional. True, if the user is allowed to send video notes.
Definition at line 2842 of file Types.h.
◆ canSendVideos
| std::optional<bool> TgBot::ChatPermissions::canSendVideos { } |
Optional. True, if the user is allowed to send videos.
Definition at line 2837 of file Types.h.
◆ canSendVoiceNotes
| std::optional<bool> TgBot::ChatPermissions::canSendVoiceNotes { } |
Optional. True, if the user is allowed to send voice notes.
Definition at line 2847 of file Types.h.
The documentation for this struct was generated from the following file: