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::messageText Class Referencefinal

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

Inheritance diagram for td::td_api::messageText:
td::td_api::MessageContent td::td_api::Object td::TlObject

Public Member Functions

 messageText ()
 
 messageText (object_ptr< formattedText > &&text_, object_ptr< linkPreview > &&link_preview_, object_ptr< linkPreviewOptions > &&link_preview_options_)
 
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

object_ptr< formattedTexttext_
 Text of the message.
 
object_ptr< linkPreviewlink_preview_
 A link preview attached to the message; may be null.
 
object_ptr< linkPreviewOptionslink_preview_options_
 Options which were used for generation of the link preview; may be null if default options were used.
 

Static Public Attributes

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

Detailed Description

A text message.

Definition at line 38890 of file td_api.h.

Constructor & Destructor Documentation

◆ messageText() [1/2]

td::td_api::messageText::messageText ( )

A text message.

◆ messageText() [2/2]

td::td_api::messageText::messageText ( object_ptr< formattedText > &&  text_,
object_ptr< linkPreview > &&  link_preview_,
object_ptr< linkPreviewOptions > &&  link_preview_options_ 
)

A text message.

Parameters
[in]text_Text of the message.
[in]link_preview_A link preview attached to the message; may be null.
[in]link_preview_options_Options which were used for generation of the link preview; may be null if default options were used.

Member Function Documentation

◆ store()

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

◆ ID

const std::int32_t td::td_api::messageText::ID = 1751469188
static

Identifier uniquely determining a type of the object.

Definition at line 38922 of file td_api.h.

◆ link_preview_

object_ptr<linkPreview> td::td_api::messageText::link_preview_

A link preview attached to the message; may be null.

Definition at line 38903 of file td_api.h.

◆ link_preview_options_

object_ptr<linkPreviewOptions> td::td_api::messageText::link_preview_options_

Options which were used for generation of the link preview; may be null if default options were used.

Definition at line 38905 of file td_api.h.

◆ text_

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

Text of the message.

Definition at line 38901 of file td_api.h.


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