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.
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 ). |
document_id | long | ID of the custom emoji representing the status. |
title | string | Name of the collectible. |
slug | string | Unique identifier of the collectible that may be used to create a collectible gift link » for the current collectible, or to fetch further info about the collectible using payments.getUniqueStarGift. |
pattern_document_id | long | The ID of a pattern to apply on the profile's backdrop, correlated to the starGiftAttributePattern from the gift in slug . |
center_color | int | Color of the center of the profile backdrop in RGB24 format, from the gift's starGiftAttributeBackdrop. |
edge_color | int | Color of the edges of the profile backdrop in RGB24 format, from the gift's starGiftAttributeBackdrop. |
pattern_color | int | Color of the pattern_document_id applied on the profile backdrop in RGB24 format, from the gift's starGiftAttributeBackdrop. |
text_color | int | Color of text on the profile backdrop in RGB24 format, from the gift's starGiftAttributeBackdrop. |
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
.
Telegram allows including animated and static custom emojis inside of messages.
Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.
Obtain info about a collectible gift » using a slug obtained from a collectible gift link ».
A sticker applied on the backdrop of a collectible gift » using a repeating pattern.
The backdrop of a collectible gift ».
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: 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).