Class: Vk::API::Messages::Methods::SearchDialogs

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/messages/methods/search_dialogs.rb

Overview

Returns a list of the current user's conversations that match search criteria.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Messages::Methods::SearchDialogs

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :q (String)

    Search query string.

  • :limit (Integer)

    Maximum number of results.

  • :fields (Array)

    Profile fields to return.;


# File 'lib/vk/api/messages/methods/search_dialogs.rb', line 15

Instance Method Details

#fieldsArray

Returns Profile fields to return.;.

Returns:

  • (Array)

    Profile fields to return.;


29
# File 'lib/vk/api/messages/methods/search_dialogs.rb', line 29

attribute :fields, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil)

#limitInteger

Returns Maximum number of results.

Returns:

  • (Integer)

    Maximum number of results.


27
# File 'lib/vk/api/messages/methods/search_dialogs.rb', line 27

attribute :limit, API::Types::Coercible::Int.optional.default(20)

#qString

Returns Search query string.

Returns:

  • (String)

    Search query string.


25
# File 'lib/vk/api/messages/methods/search_dialogs.rb', line 25

attribute :q, API::Types::Coercible::String.optional.default(nil)