|
TDLib
|
Inherits td::td_api::Function.
Public Types | |
| using | ReturnType = object_ptr< stickerSet > |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| createNewStickerSet () | |
| createNewStickerSet (int53 user_id_, string const &title_, string const &name_, object_ptr< StickerFormat > &&sticker_format_, object_ptr< StickerType > &&sticker_type_, bool needs_repainting_, array< object_ptr< inputSticker > > &&stickers_, string const &source_) | |
| std::int32_t | get_id () const final |
| 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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| int53 | user_id_ |
| Sticker set owner; ignored for regular users. | |
| string | title_ |
| Sticker set title; 1-64 characters. | |
| string | name_ |
| Sticker set name. Can contain only English letters, digits and underscores. Must end with "by<bot username>" (<bot_username> is case insensitive) for bots; 1-64 characters. | |
| object_ptr< StickerFormat > | sticker_format_ |
| Format of the stickers in the set. | |
| object_ptr< StickerType > | sticker_type_ |
| Type of the stickers in the set. | |
| bool | needs_repainting_ |
| Pass true if stickers in the sticker set must be repainted; for custom emoji sticker sets only. | |
| array< object_ptr< inputSticker > > | stickers_ |
| List of stickers to be added to the set; must be non-empty. All stickers must have the same format. For TGS stickers, uploadStickerFile must be used before the sticker is shown. | |
| string | source_ |
| Source of the sticker set; may be empty if unknown. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1057318406 |
| Identifier uniquely determining a type of the object. | |
Creates a new sticker set. Returns the newly created sticker set.
Returns object_ptr<StickerSet>.
| td::td_api::createNewStickerSet::createNewStickerSet | ( | ) |
Default constructor for a function, which creates a new sticker set. Returns the newly created sticker set.
Returns object_ptr<StickerSet>.
| td::td_api::createNewStickerSet::createNewStickerSet | ( | int53 | user_id_, |
| string const & | title_, | ||
| string const & | name_, | ||
| object_ptr< StickerFormat > && | sticker_format_, | ||
| object_ptr< StickerType > && | sticker_type_, | ||
| bool | needs_repainting_, | ||
| array< object_ptr< inputSticker > > && | stickers_, | ||
| string const & | source_ | ||
| ) |
Creates a function, which creates a new sticker set. Returns the newly created sticker set.
Returns object_ptr<StickerSet>.
| [in] | user_id_ | Sticker set owner; ignored for regular users. |
| [in] | title_ | Sticker set title; 1-64 characters. |
| [in] | name_ | Sticker set name. Can contain only English letters, digits and underscores. Must end with "by<bot username>" (<bot_username> is case insensitive) for bots; 1-64 characters. |
| [in] | sticker_format_ | Format of the stickers in the set. |
| [in] | sticker_type_ | Type of the stickers in the set. |
| [in] | needs_repainting_ | Pass true if stickers in the sticker set must be repainted; for custom emoji sticker sets only. |
| [in] | stickers_ | List of stickers to be added to the set; must be non-empty. All stickers must have the same format. For TGS stickers, uploadStickerFile must be used before the sticker is shown. |
| [in] | source_ | Source of the sticker set; may be empty if unknown. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.