peyk.platforms.rubika.types.sticker

Classes

Sticker([sticker_id, file, emoji_character])

Represent the Rubika Bot API Sticker type.

class peyk.platforms.rubika.types.sticker.Sticker(sticker_id: str = '', file: File | None = None, emoji_character: str | None = None)[source]

Bases: object

Represent the Rubika Bot API Sticker type.

The class preserves the existing public fields and wire-format behavior.

sticker_id: str = ''
file: File | None = None
emoji_character: str | None = None
classmethod from_dict(data: dict | None) Sticker | None[source]

Performs the from dict operation for the Rubika client.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the Rubika operation.