Developers » API methods » Messages » messages.searchDialogs
Messagesmessages.searchDialogs
Returns a list of the current user's conversations that match search criteria.
This method is deprecated and may be disabled soon, please avoid using it.
This method can be called with a user token received in Standalone-app via Implicit Flow. Access rights required: messages.
Parameters
qSearch query string.
string
limitMaximum number of results.
positive number, default 20
fieldsProfile fields to return.
Click here for the full list of supported parameters.
list of comma-separated words
Result
Returns an array containing the following objects:
  • profiles Contains an array of user objects.
  • chats Contains an array of chat objects.
  • email COMMENT: (2 of 3) We should describe this as well.--><!--COMMENT: (3 of 3) There was no sample here below or in the Russian original. Please provide.
Errors
Global errors can occur while running. See their descriptions on this page.
Version historyShow all
5.53
can_message, ban_info, can_post, can_upload_doc, can_upload_video, can_see_all_posts, can_create_topic, is_favorite, is_hidden_from_feed fields in a community object are returned for the requests including access_token only.
5.44
docs.get, docs.getById methods return preview fields instead photo_100, photo_130 fields. messages.searchDialogs method returns groups in response.