EmojiStatusCollectible

class pyrogram.raw.types.EmojiStatusCollectible

An owned collectible gift » as emoji status.

Constructor of EmojiStatus.

Details:
  • Layer: 223

  • ID: 7184603B

Parameters:
  • collectible_id (int 64-bit) – ID of the collectible (from starGiftUnique.id).

  • document_id (int 64-bit) – ID of the custom emoji representing the status.

  • title (str) – Name of the collectible.

  • slug (str) – 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 (int 64-bit) – The ID of a pattern to apply on the profile’s backdrop, correlated to the starGiftAttributePattern from the gift in slug.

  • center_color (int 32-bit) – Color of the center of the profile backdrop in RGB24 format, from the gift’s starGiftAttributeBackdrop.

  • edge_color (int 32-bit) – Color of the edges of the profile backdrop in RGB24 format, from the gift’s starGiftAttributeBackdrop.

  • pattern_color (int 32-bit) – Color of the pattern_document_id applied on the profile backdrop in RGB24 format, from the gift’s starGiftAttributeBackdrop.

  • text_color (int 32-bit) – Color of text on the profile backdrop in RGB24 format, from the gift’s starGiftAttributeBackdrop.

  • until (int 32-bit, optional) – If set, the emoji status will be active until the specified unixtime.

TL Schema

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

Parameter Tree

EmojiStatusCollectible
├── collectible_idlong
├── document_idlong
├── titlestring
├── slugstring
├── pattern_document_idlong
├── center_colorint
├── edge_colorint
├── pattern_colorint
├── text_colorint
└── untilint (optional)

Example

EmojiStatusCollectible(
    collectible_id=0,
    document_id=0,
    title="text",
    slug="text",
    pattern_document_id=0,
    center_color=0,
    edge_color=0,
    pattern_color=0,
    text_color=0,
)