Class: Vk::API::Messages::Methods::Search
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Messages::Methods::Search
- Defined in:
- lib/vk/api/messages/methods/search.rb
Overview
Returns a list of the current user's private messages that match search criteria.
Arguments collapse
-
#count ⇒ Integer
Number of messages to return.
-
#date ⇒ Integer
Date to search message before in Unixtime.
-
#peer_id ⇒ Integer
Destination ID.; ; "For user:; 'User ID', e.g.
-
#q ⇒ String
Search query string.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Messages::Methods::Search
|
# File 'lib/vk/api/messages/methods/search.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of messages to return.
32 |
# File 'lib/vk/api/messages/methods/search.rb', line 32 attribute :count, API::Types::Coercible::Int.optional.default(20) |
#date ⇒ Integer
Returns Date to search message before in Unixtime.
30 |
# File 'lib/vk/api/messages/methods/search.rb', line 30 attribute :date, API::Types::Coercible::Int.optional.default(nil) |
#peer_id ⇒ Integer
Returns Destination ID.; ; "For user:; 'User ID', e.g. '12345'.; ; For chat:; '2000000000' + 'chat_id', e.g. '2000000001'.; ; For community:; '- community ID', e.g. '-12345'.; ".
28 |
# File 'lib/vk/api/messages/methods/search.rb', line 28 attribute :peer_id, API::Types::Coercible::Int.optional.default(nil) |