Skip to content

Sticker

Type · TDLib 1.8.67 · d1085f9c

Describes a sticker

Sticker(
  id: int64,
  set_id: int64,
  width: int32,
  height: int32,
  emoji: string,
  format: StickerFormat,
  full_type: StickerFullType,
  thumbnail: Thumbnail,
  sticker: File
) → Sticker

id

int64

Unique sticker identifier within the set; 0 if none

set_id

int64

Identifier of the sticker set to which the sticker belongs; 0 if none

width

int32

Sticker width; as defined by the sender

height

int32

Sticker height; as defined by the sender

emoji

string

Emoji corresponding to the sticker; may be empty if unknown

format

StickerFormat

Sticker format

full_type

StickerFullType

Sticker's full type

thumbnail

Thumbnail

Sticker thumbnail in WEBP or JPEG format; may be null

sticker

File

File containing the sticker