TDLib
Loading...
Searching...
No Matches
td::td_api::chatPermissions Class Referencefinal
Inheritance diagram for td::td_api::chatPermissions:
td::td_api::Object td::TlObject

Public Member Functions

 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_link_previews_, bool can_react_to_messages_, bool can_edit_tag_, bool can_change_info_, bool can_invite_users_, bool can_pin_messages_, bool can_create_topics_)
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
TlObjectoperator= (const TlObject &)=delete
 TlObject (TlObject &&)=default
TlObjectoperator= (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

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_link_previews_
bool can_react_to_messages_
bool can_edit_tag_
bool can_change_info_
bool can_invite_users_
bool can_pin_messages_
bool can_create_topics_

Static Public Attributes

static const std::int32_t ID = -2007710412

Member Function Documentation

◆ store()

void td::td_api::chatPermissions::store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

Helper function for the to_string method. Appends a string representation of the object to the storer.

Parameters
[in]sStorer to which the object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.


The documentation for this class was generated from the following file: