peyk.platforms.rubika.types.button_number_picker

Classes

ButtonNumberPicker([min_value, max_value, ...])

Represent the Rubika Bot API ButtonNumberPicker type.

class peyk.platforms.rubika.types.button_number_picker.ButtonNumberPicker(min_value: str = '0', max_value: str = '100', default_value: str | None = None, title: str = '')[source]

Bases: object

Represent the Rubika Bot API ButtonNumberPicker type.

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

min_value: str = '0'
max_value: str = '100'
default_value: str | None = None
title: str = ''
classmethod from_dict(data: dict | None) ButtonNumberPicker | 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.

to_dict() Dict[str, object][source]

Performs the to dict operation for the Rubika client.

Returns:

Result produced by the Rubika operation.