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

Public Member Functions

 message (int53 id_, object_ptr< MessageSender > &&sender_id_, object_ptr< MessageSender > &&receiver_id_, int53 chat_id_, object_ptr< MessageSendingState > &&sending_state_, object_ptr< MessageSchedulingState > &&scheduling_state_, bool is_outgoing_, bool is_pinned_, bool is_from_offline_, bool can_be_saved_, bool has_timestamped_media_, bool is_channel_post_, bool is_paid_star_suggested_post_, bool is_paid_gram_suggested_post_, bool contains_unread_mention_, bool contains_unread_poll_votes_, int32 date_, int32 edit_date_, object_ptr< messageForwardInfo > &&forward_info_, object_ptr< messageImportInfo > &&import_info_, object_ptr< messageInteractionInfo > &&interaction_info_, array< object_ptr< unreadReaction > > &&unread_reactions_, object_ptr< factCheck > &&fact_check_, object_ptr< suggestedPostInfo > &&suggested_post_info_, object_ptr< MessageReplyTo > &&reply_to_, object_ptr< MessageTopic > &&topic_id_, object_ptr< MessageSelfDestructType > &&self_destruct_type_, double self_destruct_in_, double auto_delete_in_, int53 via_bot_user_id_, object_ptr< MessageSender > &&guest_bot_caller_id_, int53 sender_business_bot_user_id_, int32 sender_boost_count_, string const &sender_tag_, int53 paid_message_star_count_, string const &author_signature_, int64 media_album_id_, int64 effect_id_, object_ptr< restrictionInfo > &&restriction_info_, string const &summary_language_code_, object_ptr< MessageContent > &&content_, object_ptr< ReplyMarkup > &&reply_markup_, int32 ephemeral_message_id_)
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< MessageSendersender_id_
object_ptr< MessageSenderreceiver_id_
int53 chat_id_
object_ptr< MessageSendingStatesending_state_
object_ptr< MessageSchedulingStatescheduling_state_
bool is_outgoing_
bool is_pinned_
bool is_from_offline_
bool can_be_saved_
bool has_timestamped_media_
bool is_channel_post_
bool is_paid_star_suggested_post_
bool is_paid_gram_suggested_post_
bool contains_unread_mention_
bool contains_unread_poll_votes_
int32 date_
int32 edit_date_
object_ptr< messageForwardInfoforward_info_
object_ptr< messageImportInfoimport_info_
object_ptr< messageInteractionInfointeraction_info_
array< object_ptr< unreadReaction > > unread_reactions_
object_ptr< factCheckfact_check_
object_ptr< suggestedPostInfosuggested_post_info_
object_ptr< MessageReplyToreply_to_
object_ptr< MessageTopictopic_id_
object_ptr< MessageSelfDestructTypeself_destruct_type_
double self_destruct_in_
double auto_delete_in_
int53 via_bot_user_id_
object_ptr< MessageSenderguest_bot_caller_id_
int53 sender_business_bot_user_id_
int32 sender_boost_count_
string sender_tag_
int53 paid_message_star_count_
string author_signature_
int64 media_album_id_
int64 effect_id_
object_ptr< restrictionInforestriction_info_
string summary_language_code_
object_ptr< MessageContentcontent_
object_ptr< ReplyMarkupreply_markup_
int32 ephemeral_message_id_

Static Public Attributes

static const std::int32_t ID = -1553901480

Member Function Documentation

◆ store()

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