TDLib
Loading...
Searching...
No Matches
businessChatLink Class Referencefinal

Inherits Object.

Description

Contains information about a business chat link.

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 TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

string link_
 The HTTPS link.
object_ptr< formattedText > text_
 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.

Constructor & Destructor Documentation

◆ businessChatLink() [1/2]

businessChatLink ( )

Contains information about a business chat link.

◆ businessChatLink() [2/2]

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