TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
chatPermissions () | |
chatPermissions (bool can_send_basic_messages_, bool can_send_audios_, bool can_send_documents_, bool can_send_photos_, bool can_send_videos_, bool can_send_video_notes_, bool can_send_voice_notes_, bool can_send_polls_, bool can_send_other_messages_, bool can_add_web_page_previews_, bool can_change_info_, bool can_invite_users_, bool can_pin_messages_, bool can_manage_topics_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1355062837 |
Identifier uniquely determining a type of the object. | |
Describes actions that a user is allowed to take in a chat.
td::td_api::chatPermissions::chatPermissions | ( | ) |
Describes actions that a user is allowed to take in a chat.
td::td_api::chatPermissions::chatPermissions | ( | bool | can_send_basic_messages_, |
bool | can_send_audios_, | ||
bool | can_send_documents_, | ||
bool | can_send_photos_, | ||
bool | can_send_videos_, | ||
bool | can_send_video_notes_, | ||
bool | can_send_voice_notes_, | ||
bool | can_send_polls_, | ||
bool | can_send_other_messages_, | ||
bool | can_add_web_page_previews_, | ||
bool | can_change_info_, | ||
bool | can_invite_users_, | ||
bool | can_pin_messages_, | ||
bool | can_manage_topics_ | ||
) |
Describes actions that a user is allowed to take in a chat.
[in] | can_send_basic_messages_ | True, if the user can send text messages, contacts, invoices, locations, and venues. |
[in] | can_send_audios_ | True, if the user can send music files. |
[in] | can_send_documents_ | True, if the user can send documents. |
[in] | can_send_photos_ | True, if the user can send photos. |
[in] | can_send_videos_ | True, if the user can send videos. |
[in] | can_send_video_notes_ | True, if the user can send video notes. |
[in] | can_send_voice_notes_ | True, if the user can send voice notes. |
[in] | can_send_polls_ | True, if the user can send polls. |
[in] | can_send_other_messages_ | True, if the user can send animations, games, stickers, and dice and use inline bots. |
[in] | can_add_web_page_previews_ | True, if the user may add a web page preview to their messages. |
[in] | can_change_info_ | True, if the user can change the chat title, photo, and other settings. |
[in] | can_invite_users_ | True, if the user can invite new users to the chat. |
[in] | can_pin_messages_ | True, if the user can pin messages. |
[in] | can_manage_topics_ | True, if the user can manage topics. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.