TDLib
Loading...
Searching...
No Matches
groupCallMessage Class Referencefinal

Inherits Object.

Description

Represents a message sent in a group call.

Public Member Functions

 groupCallMessage ()
 groupCallMessage (int32 message_id_, object_ptr< MessageSender > &&sender_id_, int32 date_, object_ptr< formattedText > &&text_, int53 paid_message_star_count_, bool is_from_owner_, bool can_be_deleted_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

bool can_be_deleted_
 True, if the message can be deleted by the current user; for live stories only.
int32 date_
 Point in time (Unix timestamp) when the message was sent.
bool is_from_owner_
 True, if the message is sent by the owner of the call and must be treated as a message of the maximum level; for live stories only.
int32 message_id_
 Unique message identifier within the group call.
int53 paid_message_star_count_
 The number of Telegram Stars that were paid to send the message; for live stories only.
object_ptr< MessageSender > sender_id_
 Identifier of the sender of the message.
object_ptr< formattedText > text_
 Text of the message. If empty, then the message is a paid reaction in a live story.

Static Public Attributes

static const std::int32_t ID = 216155597
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ groupCallMessage() [1/2]

groupCallMessage ( )

Represents a message sent in a group call.

◆ groupCallMessage() [2/2]

groupCallMessage ( int32 message_id_,
object_ptr< MessageSender > && sender_id_,
int32 date_,
object_ptr< formattedText > && text_,
int53 paid_message_star_count_,
bool is_from_owner_,
bool can_be_deleted_ )

Represents a message sent in a group call.

Parameters
[in]message_id_Unique message identifier within the group call.
[in]sender_id_Identifier of the sender of the message.
[in]date_Point in time (Unix timestamp) when the message was sent.
[in]text_Text of the message. If empty, then the message is a paid reaction in a live story.
[in]paid_message_star_count_The number of Telegram Stars that were paid to send the message; for live stories only.
[in]is_from_owner_True, if the message is sent by the owner of the call and must be treated as a message of the maximum level; for live stories only.
[in]can_be_deleted_True, if the message can be deleted by the current user; for live stories only.

Member Function Documentation

◆ store()

void store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

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

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

Implements TlObject.


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