Inherits Function.
Creates a new sticker set. Returns the newly created sticker set.
Returns object_ptr<StickerSet>.
Public Fields | |
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. | |
bool | is_masks_ |
True, if stickers are masks. Animated stickers can't be masks. | |
array< object_ptr< InputSticker > > | stickers_ |
List of stickers to be added to the set; must be non-empty. All stickers must be of the same type. For animated stickers, uploadStickerFile must be used before the sticker is shown. | |
string | source_ |
Source of the sticker set; may be empty if unknown. | |
Public Types | |
using | ReturnType = object_ptr< stickerSet > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
createNewStickerSet () | |
createNewStickerSet (int53 user_id_, string const &title_, string const &name_, bool is_masks_, 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 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 = -396493358 |
Identifier uniquely determining a type of the object. | |
Default constructor for a function, which creates a new sticker set. Returns the newly created sticker set.
Returns object_ptr<StickerSet>.
createNewStickerSet | ( | int53 | user_id_, |
string const & | title_, | ||
string const & | name_, | ||
bool | is_masks_, | ||
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] | is_masks_ | True, if stickers are masks. Animated stickers can't be masks. |
[in] | stickers_ | List of stickers to be added to the set; must be non-empty. All stickers must be of the same type. For animated stickers, uploadStickerFile must be used before the sticker is shown. |
[in] | source_ | Source of the sticker set; may be empty if unknown. |
|
inlinefinalvirtual |
|
finalvirtual |