peyk.platforms.rubika.methods.edit_chat_keypad

async peyk.platforms.rubika.methods.edit_chat_keypad(self, chat_id: str, chat_keypad: Keypad | Dict[str, object] | None = None, *, chat_keypad_type: str = ChatKeypadTypeEnum.NEW) bool[source]

Edits chat keypad through the Rubika API.

Parameters:
  • chat_id – Identifier of the target chat.

  • chat_keypad – Value used by this operation.

  • chat_keypad_type – Value used by this operation.

Returns:

Result produced by the Rubika operation.