Button Meta

class telegram_bot_discussion.button.button_meta.ButtonMeta[source]

Bases: object

ButtonMeta is a special meta class for autogenerate properties values for object of Button classes.

action: str

Unique action name for handling its reaction route in ButtonHandler.

Type:

str

life_time: timedelta = None

Clickable lifetime of the button. The default value None means no limits.

Type:

timedelta

title: str

Text on button.

Type:

str