EmojiStatusCollectible
- class pyrogram.raw.types.EmojiStatusCollectible
An owned collectible gift » as emoji status.
Constructor of
EmojiStatus.- Details:
Layer:
223ID:
7184603B
- Parameters:
collectible_id (
int64-bit) – ID of the collectible (from starGiftUnique.id).document_id (
int64-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 (
int64-bit) – The ID of a pattern to apply on the profile’s backdrop, correlated to the starGiftAttributePattern from the gift in slug.center_color (
int32-bit) – Color of the center of the profile backdrop in RGB24 format, from the gift’s starGiftAttributeBackdrop.edge_color (
int32-bit) – Color of the edges of the profile backdrop in RGB24 format, from the gift’s starGiftAttributeBackdrop.pattern_color (
int32-bit) – Color of the pattern_document_id applied on the profile backdrop in RGB24 format, from the gift’s starGiftAttributeBackdrop.text_color (
int32-bit) – Color of text on the profile backdrop in RGB24 format, from the gift’s starGiftAttributeBackdrop.until (
int32-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
longlongstringstringlongintintintintint (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,
)