requestPoll property

  1. @JsonKey.new(name: 'request_poll')
KeyboardButtonPollType? requestPoll
getter/setter pair

Optional. If specified, the user will be asked to create a poll and send it to the bot when the button is pressed. Available in private chats only.

Implementation

@JsonKey(name: 'request_poll')
KeyboardButtonPollType? requestPoll;