emojiStatusCollectible

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.

emojiStatusCollectible#7184603b flags:# collectible_id:long document_id:long title:string slug:string pattern_document_id:long center_color:int edge_color:int pattern_color:int text_color:int until:flags.0?int = EmojiStatus;

Parameters

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  
center_color int  
edge_color int  
pattern_color int  
text_color int  
until flags.0?int  

Type

EmojiStatus

Related pages

starGiftUnique

Represents a collectible star gift, see here » for more info.

Custom emojis

Telegram allows including animated and static custom emojis inside of messages.

Deep links

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

payments.getUniqueStarGift

Obtain info about a collectible gift » using a slug obtained from a collectible gift link ».

Telegram Gifts

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.

account.updateEmojiStatus

Set an emoji status

inputEmojiStatusCollectible

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).