• Create a keyboard button requesting the user to create and send a poll. Available only for private chats.

    Used for reply keyboards, not inline!

    Parameters

    • text: string

      Button text

    • Optionalquiz: boolean

      If set, only quiz polls can be sent

    Returns tl.RawKeyboardButtonRequestPoll