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

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

Inheritance diagram for td::td_api::pageBlockChatLink:
td::td_api::PageBlock td::td_api::Object td::TlObject

Public Member Functions

 pageBlockChatLink ()
 
 pageBlockChatLink (string const &title_, object_ptr< chatPhotoInfo > &&photo_, int32 accent_color_id_, string const &username_)
 
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 title_
 Chat title.
 
object_ptr< chatPhotoInfophoto_
 Chat photo; may be null.
 
int32 accent_color_id_
 Identifier of the accent color for chat title and background of chat photo.
 
string username_
 Chat username by which all other information about the chat can be resolved.
 

Static Public Attributes

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

Detailed Description

A link to a chat.

Definition at line 48396 of file td_api.h.

Constructor & Destructor Documentation

◆ pageBlockChatLink() [1/2]

td::td_api::pageBlockChatLink::pageBlockChatLink ( )

A link to a chat.

◆ pageBlockChatLink() [2/2]

td::td_api::pageBlockChatLink::pageBlockChatLink ( string const &  title_,
object_ptr< chatPhotoInfo > &&  photo_,
int32  accent_color_id_,
string const &  username_ 
)

A link to a chat.

Parameters
[in]title_Chat title.
[in]photo_Chat photo; may be null.
[in]accent_color_id_Identifier of the accent color for chat title and background of chat photo.
[in]username_Chat username by which all other information about the chat can be resolved.

Member Function Documentation

◆ store()

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

◆ accent_color_id_

int32 td::td_api::pageBlockChatLink::accent_color_id_

Identifier of the accent color for chat title and background of chat photo.

Definition at line 48411 of file td_api.h.

◆ ID

const std::int32_t td::td_api::pageBlockChatLink::ID = 1646188731
static

Identifier uniquely determining a type of the object.

Definition at line 48431 of file td_api.h.

◆ photo_

object_ptr<chatPhotoInfo> td::td_api::pageBlockChatLink::photo_

Chat photo; may be null.

Definition at line 48409 of file td_api.h.

◆ title_

string td::td_api::pageBlockChatLink::title_

Chat title.

Definition at line 48407 of file td_api.h.

◆ username_

string td::td_api::pageBlockChatLink::username_

Chat username by which all other information about the chat can be resolved.

Definition at line 48413 of file td_api.h.


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