Inherits Function.
Uploads a file with a sticker; returns the uploaded file.
Returns object_ptr<File>.
Public Fields | |
int53 | user_id_ |
Sticker file owner; ignored for regular users. | |
object_ptr< InputSticker > | sticker_ |
Sticker file to upload. | |
Public Types | |
using | ReturnType = object_ptr< file > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
uploadStickerFile () | |
uploadStickerFile (int53 user_id_, object_ptr< InputSticker > &&sticker_) | |
std::int32_t | get_id () const final |
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 = 597751182 |
Identifier uniquely determining a type of the object. | |
Default constructor for a function, which uploads a file with a sticker; returns the uploaded file.
Returns object_ptr<File>.
uploadStickerFile | ( | int53 | user_id_, |
object_ptr< InputSticker > && | sticker_ | ||
) |
Creates a function, which uploads a file with a sticker; returns the uploaded file.
Returns object_ptr<File>.
[in] | user_id_ | Sticker file owner; ignored for regular users. |
[in] | sticker_ | Sticker file to upload. |
|
inlinefinalvirtual |
|
finalvirtual |