tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::groupCallMessage Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::groupCallMessage:
td::td_api::Object td::TlObject

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

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.
 

Static Public Attributes

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

Detailed Description

Represents a message sent in a group call.

Definition at line 24929 of file td_api.h.

Constructor & Destructor Documentation

◆ groupCallMessage() [1/2]

td::td_api::groupCallMessage::groupCallMessage ( )

Represents a message sent in a group call.

◆ groupCallMessage() [2/2]

td::td_api::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_ 
)

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 td::td_api::groupCallMessage::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 td::TlObject.

Member Data Documentation

◆ can_be_deleted_

bool td::td_api::groupCallMessage::can_be_deleted_

True, if the message can be deleted by the current user; for live stories only.

Definition at line 24952 of file td_api.h.

◆ date_

int32 td::td_api::groupCallMessage::date_

Point in time (Unix timestamp) when the message was sent.

Definition at line 24944 of file td_api.h.

◆ ID

const std::int32_t td::td_api::groupCallMessage::ID = 216155597
static

Identifier uniquely determining a type of the object.

Definition at line 24973 of file td_api.h.

◆ is_from_owner_

bool td::td_api::groupCallMessage::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.

Definition at line 24950 of file td_api.h.

◆ message_id_

int32 td::td_api::groupCallMessage::message_id_

Unique message identifier within the group call.

Definition at line 24940 of file td_api.h.

◆ paid_message_star_count_

int53 td::td_api::groupCallMessage::paid_message_star_count_

The number of Telegram Stars that were paid to send the message; for live stories only.

Definition at line 24948 of file td_api.h.

◆ sender_id_

object_ptr<MessageSender> td::td_api::groupCallMessage::sender_id_

Identifier of the sender of the message.

Definition at line 24942 of file td_api.h.

◆ text_

object_ptr<formattedText> td::td_api::groupCallMessage::text_

Text of the message. If empty, then the message is a paid reaction in a live story.

Definition at line 24946 of file td_api.h.


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