class TelegramBot::Models::Poll
- TelegramBot::Models::Poll
- TelegramBot::Models::Base
- Reference
- Object
Overview
https://core.telegram.org/bots/api#poll
Defined in:
telegram_bot/models.crConstructors
-
.new(pull : JSON::PullParser)
https://core.telegram.org/bots/api#poll
Instance Method Summary
- #id : String
- #id=(id : String)
- #is_closed : Bool
- #is_closed=(is_closed : Bool)
- #options : Array(PollOption)
- #options=(options : Array(PollOption))
- #question : String
- #question=(question : String)