Inherits Object.
Describes a paid media to be sent.
Public Fields | |
object_ptr< InputPaidMediaType > | type_ |
Type of the media. | |
object_ptr< InputFile > | media_ |
Photo or video to be sent. | |
object_ptr< inputThumbnail > | thumbnail_ |
Media thumbnail; pass null to skip thumbnail uploading. | |
array< int32 > | added_sticker_file_ids_ |
File identifiers of the stickers added to the media, if applicable. | |
int32 | width_ |
Media width. | |
int32 | height_ |
Media height. | |
Public Instance Methods | |
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 Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 475844035 |
Identifier uniquely determining a type of the object. | |
inputPaidMedia | ( | ) |
Describes a paid media to be sent.
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.
[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. |
|
finalvirtual |