Class: Vk::API::Market::Methods::GetById
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Market::Methods::GetById
- Defined in:
- lib/vk/api/market/methods/get_by_id.rb
Overview
Returns information about market items by their ids.
Arguments collapse
-
#extended ⇒ Boolean
'1' – to return additional fields: 'likes, can_comment, car_repost, photos'.
-
#item_ids ⇒ Array
Comma-separated ids list: \$1user id\$1_\$1item id\$1.; If an item belongs to a community -\$1community id\$1 is used.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Market::Methods::GetById
|
# File 'lib/vk/api/market/methods/get_by_id.rb', line 15
|
Instance Method Details
#extended ⇒ Boolean
Returns '1' – to return additional fields: 'likes, can_comment, car_repost, photos'. By default: '0'.
26 |
# File 'lib/vk/api/market/methods/get_by_id.rb', line 26 attribute :extended, API::Types::Form::Bool.optional.default(nil) |
#item_ids ⇒ Array
Returns Comma-separated ids list: \$1user id\$1_\$1item id\$1.; If an item belongs to a community -\$1community id\$1 is used. ; " 'Videos' value example: ; '-4363_136089719,13245770_137352259'".
24 |
# File 'lib/vk/api/market/methods/get_by_id.rb', line 24 attribute :item_ids, API::Types::Coercible::Array.member(API::Types::Coercible::String).constrained(max_size: 100) |