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

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

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

Public Member Functions

 botMediaPreviewInfo ()
 
 botMediaPreviewInfo (array< object_ptr< botMediaPreview > > &&previews_, array< string > &&language_codes_)
 
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

array< object_ptr< botMediaPreview > > previews_
 List of media previews.
 
array< stringlanguage_codes_
 List of language codes for which the bot has dedicated previews.
 

Static Public Attributes

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

Detailed Description

Contains a list of media previews of a bot for the given language and the list of languages for which the bot has dedicated previews.

Definition at line 4750 of file td_api.h.

Constructor & Destructor Documentation

◆ botMediaPreviewInfo() [1/2]

td::td_api::botMediaPreviewInfo::botMediaPreviewInfo ( )

Contains a list of media previews of a bot for the given language and the list of languages for which the bot has dedicated previews.

◆ botMediaPreviewInfo() [2/2]

td::td_api::botMediaPreviewInfo::botMediaPreviewInfo ( array< object_ptr< botMediaPreview > > &&  previews_,
array< string > &&  language_codes_ 
)

Contains a list of media previews of a bot for the given language and the list of languages for which the bot has dedicated previews.

Parameters
[in]previews_List of media previews.
[in]language_codes_List of language codes for which the bot has dedicated previews.

Member Function Documentation

◆ store()

void td::td_api::botMediaPreviewInfo::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::botMediaPreviewInfo::ID = -284783012
static

Identifier uniquely determining a type of the object.

Definition at line 4779 of file td_api.h.

◆ language_codes_

array<string> td::td_api::botMediaPreviewInfo::language_codes_

List of language codes for which the bot has dedicated previews.

Definition at line 4763 of file td_api.h.

◆ previews_

array<object_ptr<botMediaPreview> > td::td_api::botMediaPreviewInfo::previews_

List of media previews.

Definition at line 4761 of file td_api.h.


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