Class: Vk::API::Wall::Methods::Search
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Wall::Methods::Search
- Defined in:
- lib/vk/api/wall/methods/search.rb
Overview
Allows to search posts on user or community walls.
Arguments collapse
-
#count ⇒ Integer
Count of posts to return.
-
#domain ⇒ String
User or community screen name.
-
#extended ⇒ Boolean
Show extended post info.
- #fields ⇒ Array
-
#owner_id ⇒ Integer
User or community id.
-
#owners_only ⇒ Boolean
'1' – returns only page owner's posts.
-
#query ⇒ String
Search query string.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Wall::Methods::Search constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#count ⇒ Integer
Returns count of posts to return.
37 |
# File 'lib/vk/api/wall/methods/search.rb', line 37 attribute :count, API::Types::Coercible::Int.optional.default(20) |
#domain ⇒ String
Returns user or community screen name.
31 |
# File 'lib/vk/api/wall/methods/search.rb', line 31 attribute :domain, API::Types::Coercible::String.optional.default(nil) |
#extended ⇒ Boolean
Returns show extended post info.
39 |
# File 'lib/vk/api/wall/methods/search.rb', line 39 attribute :extended, API::Types::Form::Bool.optional.default(nil) |
#fields ⇒ Array
41 |
# File 'lib/vk/api/wall/methods/search.rb', line 41 attribute :fields, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#owner_id ⇒ Integer
Returns user or community id. ; "Remember that for a community 'owner_id' must be negative.".
29 |
# File 'lib/vk/api/wall/methods/search.rb', line 29 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |