Method: TelegramBot::Update#poll

Defined in:
lib/telegram-bot/models/update.rb

#pollObject

Optional. New poll state. Bots receive only updates about manually stopped polls and polls, which are sent by the bot



68
69
70
# File 'lib/telegram-bot/models/update.rb', line 68

def poll
  @poll
end