List of all members | Public Fields | Public Instance Methods | Static Public Attributes
groupCallMessage Class Referencefinal

Inherits Object.

Description

Represents a message sent in a group call.

Public Fields

int32 message_id_
 Unique message identifier within the group call.
 
object_ptr< MessageSendersender_id_
 Identifier of the sender of the message.
 
int32 date_
 Point in time (Unix timestamp) when the message was sent.
 
object_ptr< formattedTexttext_
 Text of the message. If empty, then the message is a paid reaction in a live story.
 
int53 paid_message_star_count_
 The number of Telegram Stars that were paid to send the message; for live stories only.
 
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.
 
bool can_be_deleted_
 True, if the message can be deleted by the current user; for live stories only.
 

Public Instance Methods

 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 Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ groupCallMessage() [1/2]

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.

Method 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: