Class: TD::Types::Update::PollAnswer
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::PollAnswer
- Defined in:
- lib/tdlib/types/update/poll_answer.rb
Overview
A user changed the answer to a poll; for bots only.
Instance Attribute Summary collapse
-
#option_ids ⇒ Array<Integer>
0-based identifiers of answer options, chosen by the user.
-
#poll_id ⇒ Integer
Unique poll identifier.
-
#user_id ⇒ Integer
The user, who changed the answer to the poll.
Method Summary
Methods inherited from Base
Instance Attribute Details
#option_ids ⇒ Array<Integer>
0-based identifiers of answer options, chosen by the user.
7 8 9 |
# File 'lib/tdlib/types/update/poll_answer.rb', line 7 def option_ids @option_ids end |
#poll_id ⇒ Integer
Unique poll identifier.
7 8 9 |
# File 'lib/tdlib/types/update/poll_answer.rb', line 7 def poll_id @poll_id end |
#user_id ⇒ Integer
The user, who changed the answer to the poll.
7 8 9 |
# File 'lib/tdlib/types/update/poll_answer.rb', line 7 def user_id @user_id end |