Link Search Menu Expand Document

Constructor: emojiStatusCollectible

Back to constructors index

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.

Attributes:

NameTypeRequiredDescription
collectible_idlongYesID of the collectible (from starGiftUnique.id).
document_idlongYesID 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.
pattern_document_idlongYesThe ID of a pattern to apply on the profile’s backdrop, correlated to the starGiftAttributePattern from the gift in slug.
center_colorintYesColor of the center of the profile backdrop in RGB24 format, from the gift’s starGiftAttributeBackdrop.
edge_colorintYesColor of the edges of the profile backdrop in RGB24 format, from the gift’s starGiftAttributeBackdrop.
pattern_colorintYesColor of the pattern_document_id applied on the profile backdrop in RGB24 format, from the gift’s starGiftAttributeBackdrop.
text_colorintYesColor of text on the profile backdrop in RGB24 format, from the gift’s starGiftAttributeBackdrop.
untilintOptionalIf set, the emoji status will be active until the specified unixtime.

Type: EmojiStatus

Example:

$emojiStatusCollectible = ['_' => 'emojiStatusCollectible', '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' => int];