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

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

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

Public Member Functions

 businessChatLink ()
 
 businessChatLink (string const &link_, object_ptr< formattedText > &&text_, string const &title_, int32 view_count_)
 
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 link_
 The HTTPS link.
 
object_ptr< formattedTexttext_
 Message draft text that will be added to the input field.
 
string title_
 Link title.
 
int32 view_count_
 Number of times the link was used.
 

Static Public Attributes

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

Detailed Description

Contains information about a business chat link.

Definition at line 5568 of file td_api.h.

Constructor & Destructor Documentation

◆ businessChatLink() [1/2]

td::td_api::businessChatLink::businessChatLink ( )

Contains information about a business chat link.

◆ businessChatLink() [2/2]

td::td_api::businessChatLink::businessChatLink ( string const &  link_,
object_ptr< formattedText > &&  text_,
string const &  title_,
int32  view_count_ 
)

Contains information about a business chat link.

Parameters
[in]link_The HTTPS link.
[in]text_Message draft text that will be added to the input field.
[in]title_Link title.
[in]view_count_Number of times the link was used.

Member Function Documentation

◆ store()

void td::td_api::businessChatLink::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::businessChatLink::ID = -1902539901
static

Identifier uniquely determining a type of the object.

Definition at line 5603 of file td_api.h.

◆ link_

string td::td_api::businessChatLink::link_

The HTTPS link.

Definition at line 5579 of file td_api.h.

◆ text_

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

Message draft text that will be added to the input field.

Definition at line 5581 of file td_api.h.

◆ title_

string td::td_api::businessChatLink::title_

Link title.

Definition at line 5583 of file td_api.h.

◆ view_count_

int32 td::td_api::businessChatLink::view_count_

Number of times the link was used.

Definition at line 5585 of file td_api.h.


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