Sticker

class bale.Sticker(file_id, file_unique_id, type, width, height, thumb, set_name=None, file_size=None)

Bases: BaleObject

This object shows a Sticker.

file_id

Identifier for this sticker file, which can be used to download or reuse the file.

Type:

str

file_unique_id

Unique file identifier of sticker.

Type:

str

type

Type of the sticker. Currently one of regular and mask.

Type:

str

width

Sticker width.

Type:

int

height

Sticker height.

Type:

str

thumb

Sticker thumbnail.

Type:

Optional[bale.PhotoSize]

set_name

Name of the sticker set to which the sticker belongs.

Type:

Optional[str]

file_size

File size in bytes.

Type:

Optional[int]

async get_file()

For the documentation of the arguments, please see bale.Bot.get_file().