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

Public Member Functions

 chat (int53 id_, object_ptr< ChatType > &&type_, string const &title_, object_ptr< chatPhotoInfo > &&photo_, int32 accent_color_id_, int64 background_custom_emoji_id_, object_ptr< upgradedGiftColors > &&upgraded_gift_colors_, int32 profile_accent_color_id_, int64 profile_background_custom_emoji_id_, object_ptr< chatPermissions > &&permissions_, object_ptr< message > &&last_message_, array< object_ptr< chatPosition > > &&positions_, array< object_ptr< ChatList > > &&chat_lists_, object_ptr< MessageSender > &&message_sender_id_, object_ptr< BlockList > &&block_list_, bool has_protected_content_, bool is_translatable_, bool is_marked_as_unread_, bool view_as_topics_, bool has_scheduled_messages_, bool can_be_deleted_only_for_self_, bool can_be_deleted_for_all_users_, bool can_be_reported_, bool default_disable_notification_, int32 unread_count_, int53 last_read_inbox_message_id_, int53 last_read_outbox_message_id_, int32 unread_mention_count_, int32 unread_reaction_count_, int32 unread_poll_vote_count_, object_ptr< chatNotificationSettings > &&notification_settings_, object_ptr< ChatAvailableReactions > &&available_reactions_, int32 message_auto_delete_time_, object_ptr< emojiStatus > &&emoji_status_, object_ptr< chatBackground > &&background_, object_ptr< ChatTheme > &&theme_, object_ptr< ChatActionBar > &&action_bar_, object_ptr< businessBotManageBar > &&business_bot_manage_bar_, object_ptr< videoChat > &&video_chat_, object_ptr< chatJoinRequestsInfo > &&pending_join_requests_, int53 reply_markup_message_id_, object_ptr< draftMessage > &&draft_message_, string const &client_data_)
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

int53 id_
object_ptr< ChatTypetype_
string title_
object_ptr< chatPhotoInfophoto_
int32 accent_color_id_
int64 background_custom_emoji_id_
object_ptr< upgradedGiftColorsupgraded_gift_colors_
int32 profile_accent_color_id_
int64 profile_background_custom_emoji_id_
object_ptr< chatPermissionspermissions_
object_ptr< messagelast_message_
array< object_ptr< chatPosition > > positions_
array< object_ptr< ChatList > > chat_lists_
object_ptr< MessageSendermessage_sender_id_
object_ptr< BlockListblock_list_
bool has_protected_content_
bool is_translatable_
bool is_marked_as_unread_
bool view_as_topics_
bool has_scheduled_messages_
bool can_be_deleted_only_for_self_
bool can_be_deleted_for_all_users_
bool can_be_reported_
bool default_disable_notification_
int32 unread_count_
int53 last_read_inbox_message_id_
int53 last_read_outbox_message_id_
int32 unread_mention_count_
int32 unread_reaction_count_
int32 unread_poll_vote_count_
object_ptr< chatNotificationSettingsnotification_settings_
object_ptr< ChatAvailableReactionsavailable_reactions_
int32 message_auto_delete_time_
object_ptr< emojiStatusemoji_status_
object_ptr< chatBackgroundbackground_
object_ptr< ChatThemetheme_
object_ptr< ChatActionBaraction_bar_
object_ptr< businessBotManageBarbusiness_bot_manage_bar_
object_ptr< videoChatvideo_chat_
object_ptr< chatJoinRequestsInfopending_join_requests_
int53 reply_markup_message_id_
object_ptr< draftMessagedraft_message_
string client_data_

Static Public Attributes

static const std::int32_t ID = -520699983

Member Function Documentation

◆ store()

void td::td_api::chat::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: