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

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

Inheritance diagram for td::td_api::suggestedActionCustom:
td::td_api::SuggestedAction td::td_api::Object td::TlObject

Public Member Functions

 suggestedActionCustom ()
 
 suggestedActionCustom (string const &name_, object_ptr< formattedText > &&title_, object_ptr< formattedText > &&description_, string const &url_)
 
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

string name_
 Unique name of the suggestion.
 
object_ptr< formattedTexttitle_
 Title of the suggestion.
 
object_ptr< formattedTextdescription_
 Description of the suggestion.
 
string url_
 The link to open when the suggestion is clicked.
 

Static Public Attributes

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

Detailed Description

A custom suggestion to be shown at the top of the chat list.

Definition at line 70765 of file td_api.h.

Constructor & Destructor Documentation

◆ suggestedActionCustom() [1/2]

td::td_api::suggestedActionCustom::suggestedActionCustom ( )

A custom suggestion to be shown at the top of the chat list.

◆ suggestedActionCustom() [2/2]

td::td_api::suggestedActionCustom::suggestedActionCustom ( string const &  name_,
object_ptr< formattedText > &&  title_,
object_ptr< formattedText > &&  description_,
string const &  url_ 
)

A custom suggestion to be shown at the top of the chat list.

Parameters
[in]name_Unique name of the suggestion.
[in]title_Title of the suggestion.
[in]description_Description of the suggestion.
[in]url_The link to open when the suggestion is clicked.

Member Function Documentation

◆ store()

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

◆ description_

object_ptr<formattedText> td::td_api::suggestedActionCustom::description_

Description of the suggestion.

Definition at line 70780 of file td_api.h.

◆ ID

const std::int32_t td::td_api::suggestedActionCustom::ID = 2092876611
static

Identifier uniquely determining a type of the object.

Definition at line 70800 of file td_api.h.

◆ name_

string td::td_api::suggestedActionCustom::name_

Unique name of the suggestion.

Definition at line 70776 of file td_api.h.

◆ title_

object_ptr<formattedText> td::td_api::suggestedActionCustom::title_

Title of the suggestion.

Definition at line 70778 of file td_api.h.

◆ url_

string td::td_api::suggestedActionCustom::url_

The link to open when the suggestion is clicked.

Definition at line 70782 of file td_api.h.


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