Class: Vk::API::Notifications::Methods::Get
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Notifications::Methods::Get
- Defined in:
- lib/vk/api/notifications/methods/get.rb
Overview
Returns a list of notifications about other users' feedback to the current user's wall posts.
Arguments collapse
-
#count ⇒ Integer
Number of notifications to return.
-
#end_time ⇒ Integer
Latest timestamp (in Unix time) of a notification to return.
-
#filters ⇒ Array
Type of notifications to return:; 'wall' — wall posts; 'mentions' — mentions in wall posts, comments, or topics; 'comments' — comments to wall posts, photos, and videos; 'likes' — likes; 'reposted' — wall posts that are copied from the current user's wall; 'followers' — new followers; 'friends' — accepted friend requests.
- #start_from ⇒ String
-
#start_time ⇒ Integer
Earliest timestamp (in Unix time) of a notification to return.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Notifications::Methods::Get
|
# File 'lib/vk/api/notifications/methods/get.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of notifications to return.
27 |
# File 'lib/vk/api/notifications/methods/get.rb', line 27 attribute :count, API::Types::Coercible::Int.optional.default(30) |
#end_time ⇒ Integer
Returns Latest timestamp (in Unix time) of a notification to return. By default, the current time.
35 |
# File 'lib/vk/api/notifications/methods/get.rb', line 35 attribute :end_time, API::Types::Coercible::Int.optional.default(nil) |
#filters ⇒ Array
Returns Type of notifications to return:; 'wall' — wall posts; 'mentions' — mentions in wall posts, comments, or topics; 'comments' — comments to wall posts, photos, and videos; 'likes' — likes; 'reposted' — wall posts that are copied from the current user's wall; 'followers' — new followers; 'friends' — accepted friend requests.
31 |
# File 'lib/vk/api/notifications/methods/get.rb', line 31 attribute :filters, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |