class
TelegramBot::Poll
- TelegramBot::Poll
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/poll.crConstructors
Instance Method Summary
- #allows_multiple_answers=(allows_multiple_answers : Bool)
- #allows_multiple_answers? : Bool
- #allows_revoting=(allows_revoting : Bool | Nil)
- #allows_revoting? : Bool | Nil
- #close_date : Int32 | Nil
- #close_date=(close_date : Int32 | Nil)
- #correct_option_ids : Array(Int32) | Nil
- #correct_option_ids=(correct_option_ids : Array(Int32) | Nil)
- #country_codes : Array(String) | Nil
- #country_codes=(country_codes : Array(String) | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #description_entities : Array(MessageEntity) | Nil
- #description_entities=(description_entities : Array(MessageEntity) | Nil)
- #explanation : String | Nil
- #explanation=(explanation : String | Nil)
- #explanation_entities : Array(MessageEntity) | Nil
- #explanation_entities=(explanation_entities : Array(MessageEntity) | Nil)
- #explanation_media : PollMedia | Nil
- #explanation_media=(explanation_media : PollMedia | Nil)
- #id : String
- #id=(id : String)
- #is_anonymous=(is_anonymous : Bool)
- #is_anonymous? : Bool
- #is_closed=(is_closed : Bool)
- #is_closed? : Bool
- #media : PollMedia | Nil
- #media=(media : PollMedia | Nil)
- #members_only=(members_only : Bool | Nil)
- #members_only? : Bool | Nil
- #open_period : Int32 | Nil
- #open_period=(open_period : Int32 | Nil)
- #options : Array(PollOption)
- #options=(options : Array(PollOption))
- #question : String
- #question=(question : String)
- #question_entities : Array(MessageEntity) | Nil
- #question_entities=(question_entities : Array(MessageEntity) | Nil)
- #total_voter_count : Int32
- #total_voter_count=(total_voter_count : Int32)
- #type : String
- #type=(type : String)