peyk.platforms.rubika.types.bot_command¶
Classes
|
Represent the Rubika Bot API |
- class peyk.platforms.rubika.types.bot_command.BotCommand(command: str = '', description: str = '')[source]¶
Bases:
objectRepresent the Rubika Bot API
BotCommandtype.The class preserves the existing public fields and wire-format behavior.
- command: str = ''¶
- description: str = ''¶
- classmethod from_dict(data: dict | None) BotCommand | 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.