An owned collectible gift » as emoji status: can only be used in account.updateEmojiStatus, is never returned by the API.
Note that once set, the status will be returned to users as a emojiStatusCollectible constructor, instead (which cannot be passed to account.updateEmojiStatus, and must be converted to an inputEmojiStatusCollectible first).
Constructor schema is available as of layer 198. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
collectible_id | long | ID of the collectible (from starGiftUnique.id ). |
until | flags.0?int | If set, the emoji status will be active until the specified unixtime. |
Represents a collectible star gift, see here » for more info.
The sticker that represents the gift is contained in a starGiftAttributeModel object in attributes
.
Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.
Set an emoji status
An owned collectible gift » as emoji status.
Cannot be passed to account.updateEmojiStatus, must be converted to an inputEmojiStatusCollectible first before passing it to that method.
An owned collectible gift » as emoji status: can only be used in account.updateEmojiStatus, is never returned by the API.
Note that once set, the status will be returned to users as a emojiStatusCollectible constructor, instead (which cannot be passed to account.updateEmojiStatus, and must be converted to an inputEmojiStatusCollectible first).