Class: Vk::API::Polls::Methods::DeleteVote
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Polls::Methods::DeleteVote
- Defined in:
- lib/vk/api/polls/methods/delete_vote.rb
Overview
Deletes the current user's vote from the selected answer in the poll.
Arguments collapse
-
#answer_id ⇒ Integer
Answer ID.
- #is_board ⇒ Boolean
-
#owner_id ⇒ Integer
ID of the user or community that owns the poll.
-
#poll_id ⇒ Integer
Poll ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Polls::Methods::DeleteVote
|
# File 'lib/vk/api/polls/methods/delete_vote.rb', line 15
|
Instance Method Details
#answer_id ⇒ Integer
Returns Answer ID.
30 |
# File 'lib/vk/api/polls/methods/delete_vote.rb', line 30 attribute :answer_id, API::Types::Coercible::Int |
#is_board ⇒ Boolean
32 |
# File 'lib/vk/api/polls/methods/delete_vote.rb', line 32 attribute :is_board, API::Types::Form::Bool.optional.default(nil) |