Class: Vk::API::Wall::Methods::Get
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Wall::Methods::Get
- Defined in:
- lib/vk/api/wall/methods/get.rb
Overview
Returns a list of posts on a user wall or community wall.
Arguments collapse
-
#count ⇒ Integer
Number of posts to return (maximum 100).
-
#domain ⇒ String
User or community short address.
-
#extended ⇒ Boolean
'1' — to return 'wall', 'profiles', and 'groups' fields; '0' — to return no additional fields (default).
- #fields ⇒ Array
-
#filter ⇒ String
Filter to apply:; 'owner' — posts by the wall owner; 'others' — posts by someone else; 'all' — posts by the wall owner and others (default); 'postponed' — timed posts (only available for calls with an 'access_token'); 'suggests' — suggested posts on a community wall.
-
#offset ⇒ Integer
Offset needed to return a specific subset of posts.
-
#owner_id ⇒ Integer
ID of the user or community that owns the wall.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Wall::Methods::Get constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#count ⇒ Integer
Returns Number of posts to return (maximum 100).
35 |
# File 'lib/vk/api/wall/methods/get.rb', line 35 attribute :count, API::Types::Coercible::Int.optional.default(nil) |
#domain ⇒ String
Returns User or community short address.
31 |
# File 'lib/vk/api/wall/methods/get.rb', line 31 attribute :domain, API::Types::Coercible::String.optional.default(nil) |
#extended ⇒ Boolean
Returns '1' — to return 'wall', 'profiles', and 'groups' fields; '0' — to return no additional fields (default).
39 |
# File 'lib/vk/api/wall/methods/get.rb', line 39 attribute :extended, API::Types::Form::Bool.optional.default(nil) |
#fields ⇒ Array
41 |
# File 'lib/vk/api/wall/methods/get.rb', line 41 attribute :fields, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#filter ⇒ String
Returns Filter to apply:; 'owner' — posts by the wall owner; 'others' — posts by someone else; 'all' — posts by the wall owner and others (default); 'postponed' — timed posts (only available for calls with an 'access_token'); 'suggests' — suggested posts on a community wall.
37 |
# File 'lib/vk/api/wall/methods/get.rb', line 37 attribute :filter, API::Types::Coercible::String.optional.default(nil) |