Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 773 Bytes

File metadata and controls

24 lines (18 loc) · 773 Bytes

TelegramBotOpenapi::PollAnswer

Properties

Name Type Description Notes
poll_id String Unique poll identifier
voter_chat Chat Optional. The chat that changed the answer to the poll, if the voter is anonymous [optional]
user User Optional. The user that changed the answer to the poll, if the voter isn't anonymous [optional]
option_ids Array<Integer> 0-based identifiers of chosen answer options. May be empty if the vote was retracted.

Example

require 'telegram-bot-openapi'

instance = TelegramBotOpenapi::PollAnswer.new(
  poll_id: null,
  voter_chat: null,
  user: null,
  option_ids: null
)