Skip to main content

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.

type tg.EmojiStatusCollectible struct { /* ... */ }

Implements EmojiStatus.

Fields

NameTypeRequiredDescription
CollectibleIDint64yesID of the collectible (from starGiftUnique.id).
DocumentIDint64yesID of the custom emoji representing the status.
TitlestringyesName of the collectible.
SlugstringyesUnique 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.
PatternDocumentIDint64yesThe ID of a pattern to apply on the profile's backdrop, correlated to the starGiftAttributePattern from the gift in slug.
CenterColorintyesColor of the center of the profile backdrop in RGB24 format, from the gift's starGiftAttributeBackdrop.
EdgeColorintyesColor of the edges of the profile backdrop in RGB24 format, from the gift's starGiftAttributeBackdrop.
PatternColorintyesColor of the pattern_document_id applied on the profile backdrop in RGB24 format, from the gift's starGiftAttributeBackdrop.
TextColorintyesColor of text on the profile backdrop in RGB24 format, from the gift's starGiftAttributeBackdrop.
UntilintIf set, the emoji status will be active until the specified unixtime.

References