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) |
#owner_id ⇒ Integer
Returns ID of the user or community that owns the poll. Use a negative value to designate a community ID.
26 |
# File 'lib/vk/api/polls/methods/delete_vote.rb', line 26 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |
#poll_id ⇒ Integer
Returns Poll ID.
28 |
# File 'lib/vk/api/polls/methods/delete_vote.rb', line 28 attribute :poll_id, API::Types::Coercible::Int |