Class: Vk::API::Polls::Methods::GetById
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Polls::Methods::GetById
- Defined in:
- lib/vk/api/polls/methods/get_by_id.rb
Overview
Returns detailed information about a poll by its ID.
Arguments collapse
-
#is_board ⇒ Boolean
'1' – poll is in a board, '0' – poll is on a wall.
-
#owner_id ⇒ Integer
ID of the user or community that owns the poll.
-
#poll_id ⇒ Integer
Poll ID.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Polls::Methods::GetById constructor
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Polls::Methods::GetById
|
# File 'lib/vk/api/polls/methods/get_by_id.rb', line 15
|
Instance Method Details
#is_board ⇒ Boolean
Returns '1' – poll is in a board, '0' – poll is on a wall. ; '0' by default.
27 |
# File 'lib/vk/api/polls/methods/get_by_id.rb', line 27 attribute :is_board, API::Types::Form::Bool.optional.default(nil) |