Layer 220
constructor
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
CollectibleId long ID of the collectible (from star Gift Unique. id ).
DocumentId 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. get Unique Star Gift.
PatternDocumentId long The ID of a pattern to apply on the profile's backdrop, correlated to the star Gift Attribute Pattern from the gift in slug.
CenterColor int Color of the center of the profile backdrop in RGB 24 format, from the gift's star Gift Attribute Backdrop.
EdgeColor int Color of the edges of the profile backdrop in RGB 24 format, from the gift's star Gift Attribute Backdrop.
PatternColor int Color of the pattern_document_id applied on the profile backdrop in RGB 24 format, from the gift's star Gift Attribute Backdrop.
TextColor int Color of text on the profile backdrop in RGB 24 format, from the gift's star Gift Attribute Backdrop.
Until flags.0?int If set, the emoji status will be active until the specified unixtime.

Returns

EmojiStatus

Gogram Example

// Creating EmojiStatusCollectible constructor
obj := &tg.EmojiStatusCollectible{
    CollectibleId: int64(0),
    DocumentId: int64(0),
    Title: "...",
    Slug: "...",
    PatternDocumentId: int64(0),
    CenterColor: 0,
    // ... more required fields

    // Optional fields:
    // Until: 0,
}