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

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

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

Public Member Functions

 inputPaidMedia ()
 
 inputPaidMedia (object_ptr< InputPaidMediaType > &&type_, object_ptr< InputFile > &&media_, object_ptr< inputThumbnail > &&thumbnail_, array< int32 > &&added_sticker_file_ids_, int32 width_, int32 height_)
 
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

object_ptr< InputPaidMediaTypetype_
 Type of the media.
 
object_ptr< InputFilemedia_
 Photo or video to be sent.
 
object_ptr< inputThumbnailthumbnail_
 Media thumbnail; pass null to skip thumbnail uploading.
 
array< int32added_sticker_file_ids_
 File identifiers of the stickers added to the media, if applicable.
 
int32 width_
 Media width.
 
int32 height_
 Media height.
 

Static Public Attributes

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

Detailed Description

Describes a paid media to be sent.

Definition at line 30229 of file td_api.h.

Constructor & Destructor Documentation

◆ inputPaidMedia() [1/2]

td::td_api::inputPaidMedia::inputPaidMedia ( )

Describes a paid media to be sent.

◆ inputPaidMedia() [2/2]

td::td_api::inputPaidMedia::inputPaidMedia ( object_ptr< InputPaidMediaType > &&  type_,
object_ptr< InputFile > &&  media_,
object_ptr< inputThumbnail > &&  thumbnail_,
array< int32 > &&  added_sticker_file_ids_,
int32  width_,
int32  height_ 
)

Describes a paid media to be sent.

Parameters
[in]type_Type of the media.
[in]media_Photo or video to be sent.
[in]thumbnail_Media thumbnail; pass null to skip thumbnail uploading.
[in]added_sticker_file_ids_File identifiers of the stickers added to the media, if applicable.
[in]width_Media width.
[in]height_Media height.

Member Function Documentation

◆ store()

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

◆ added_sticker_file_ids_

array<int32> td::td_api::inputPaidMedia::added_sticker_file_ids_

File identifiers of the stickers added to the media, if applicable.

Definition at line 30246 of file td_api.h.

◆ height_

int32 td::td_api::inputPaidMedia::height_

Media height.

Definition at line 30250 of file td_api.h.

◆ ID

const std::int32_t td::td_api::inputPaidMedia::ID = 475844035
static

Identifier uniquely determining a type of the object.

Definition at line 30270 of file td_api.h.

◆ media_

object_ptr<InputFile> td::td_api::inputPaidMedia::media_

Photo or video to be sent.

Definition at line 30242 of file td_api.h.

◆ thumbnail_

object_ptr<inputThumbnail> td::td_api::inputPaidMedia::thumbnail_

Media thumbnail; pass null to skip thumbnail uploading.

Definition at line 30244 of file td_api.h.

◆ type_

object_ptr<InputPaidMediaType> td::td_api::inputPaidMedia::type_

Type of the media.

Definition at line 30240 of file td_api.h.

◆ width_

int32 td::td_api::inputPaidMedia::width_

Media width.

Definition at line 30248 of file td_api.h.


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