peyk.platforms.rubika.methods.set_commands

async peyk.platforms.rubika.methods.set_commands(self, commands: List[BotCommand | Dict[str, object]]) bool[source]

Updates commands through the Rubika API.

Parameters:

commands – Value used by this operation.

Returns:

Result produced by the Rubika operation.