peyk.platforms.rubika.methods.send_poll

async peyk.platforms.rubika.methods.send_poll(self, chat_id: str, question: str, options: List[str]) Message[source]

Sends poll through the Rubika API.

Parameters:
  • chat_id – Identifier of the target chat.

  • question – Value used by this operation.

  • options – Value used by this operation.

Returns:

Result produced by the Rubika operation.