Class: TD::Types::KeyboardButtonType::RequestPoll
- Inherits:
-
TD::Types::KeyboardButtonType
- Object
- Dry::Struct
- Base
- TD::Types::KeyboardButtonType
- TD::Types::KeyboardButtonType::RequestPoll
- Defined in:
- lib/tdlib/types/keyboard_button_type/request_poll.rb
Overview
A button that allows the user to create and send a poll when pressed; available only in private chats.
Instance Attribute Summary collapse
-
#force_quiz ⇒ Boolean
If true, only polls in quiz mode must be allowed to create.
-
#force_regular ⇒ Boolean
If true, only regular polls must be allowed to create.
Method Summary
Methods inherited from Base
Instance Attribute Details
#force_quiz ⇒ Boolean
If true, only polls in quiz mode must be allowed to create.
6 7 8 |
# File 'lib/tdlib/types/keyboard_button_type/request_poll.rb', line 6 def force_quiz @force_quiz end |
#force_regular ⇒ Boolean
If true, only regular polls must be allowed to create.
6 7 8 |
# File 'lib/tdlib/types/keyboard_button_type/request_poll.rb', line 6 def force_regular @force_regular end |