Inherits Object.
A sticker to be added to a sticker set.
Public Fields | |
| object_ptr< InputFile > | sticker_ |
| File with the sticker; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://c.tg.goldica.ir/b0dd72633a60ad0070e10de7b12c5322/animated_stickers#technical-requirements for technical requirements. | |
| object_ptr< StickerFormat > | format_ |
| Format of the sticker. | |
| string | emojis_ |
| String with 1-20 emoji corresponding to the sticker. | |
| object_ptr< maskPosition > | mask_position_ |
| Position where the mask is placed; pass null if not specified. | |
| array< string > | keywords_ |
| List of up to 20 keywords with total length up to 64 characters, which can be used to find the sticker. | |
Public Instance Methods | |
| inputSticker () | |
| inputSticker (object_ptr< InputFile > &&sticker_, object_ptr< StickerFormat > &&format_, string const &emojis_, object_ptr< maskPosition > &&mask_position_, array< string > &&keywords_) | |
| 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 = 1589392402 |
| Identifier uniquely determining a type of the object. | |
| inputSticker | ( | ) |
A sticker to be added to a sticker set.
| inputSticker | ( | object_ptr< InputFile > && | sticker_, |
| object_ptr< StickerFormat > && | format_, | ||
| string const & | emojis_, | ||
| object_ptr< maskPosition > && | mask_position_, | ||
| array< string > && | keywords_ | ||
| ) |
A sticker to be added to a sticker set.
| [in] | sticker_ | File with the sticker; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://c.tg.goldica.ir/b0dd72633a60ad0070e10de7b12c5322/animated_stickers#technical-requirements for technical requirements. |
| [in] | format_ | Format of the sticker. |
| [in] | emojis_ | String with 1-20 emoji corresponding to the sticker. |
| [in] | mask_position_ | Position where the mask is placed; pass null if not specified. |
| [in] | keywords_ | List of up to 20 keywords with total length up to 64 characters, which can be used to find the sticker. |
|
finalvirtual |