Package com.vk.api.sdk.queries.messages
Class MessagesSearchConversationsQueryWithExtended
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<MessagesSearchConversationsQueryWithExtended,SearchConversationsExtendedResponse>
-
- com.vk.api.sdk.queries.messages.MessagesSearchConversationsQueryWithExtended
-
public class MessagesSearchConversationsQueryWithExtended extends AbstractQueryBuilder<MessagesSearchConversationsQueryWithExtended,SearchConversationsExtendedResponse>
Query for Messages.searchConversations method
-
-
Constructor Summary
Constructors Constructor Description MessagesSearchConversationsQueryWithExtended(VkApiClient client, GroupActor actor)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersMessagesSearchConversationsQueryWithExtended(VkApiClient client, UserActor actor)Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagesSearchConversationsQueryWithExtendedcount(java.lang.Integer value)Maximum number of results.protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected MessagesSearchConversationsQueryWithExtendedextended(java.lang.Boolean value)'1' — return extra information about users and communitiesMessagesSearchConversationsQueryWithExtendedfields(Fields... value)fields Profile fields to return.MessagesSearchConversationsQueryWithExtendedfields(java.util.List<Fields> value)Profile fields to return.protected MessagesSearchConversationsQueryWithExtendedgetThis()Get reference to this objectMessagesSearchConversationsQueryWithExtendedgroupId(java.lang.Integer value)Group ID (for group messages with user access token)MessagesSearchConversationsQueryWithExtendedq(java.lang.String value)Search query string.-
Methods inherited from class com.vk.api.sdk.client.AbstractQueryBuilder
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, getParams, lang, toString, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version
-
Methods inherited from class com.vk.api.sdk.client.ApiRequest
execute, executeAsRaw, executeAsString, getClient, getGson, getHeaders, getResponseClass, getUrl, setHeaders
-
-
-
-
Constructor Detail
-
MessagesSearchConversationsQueryWithExtended
public MessagesSearchConversationsQueryWithExtended(VkApiClient client, UserActor actor)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access token
-
MessagesSearchConversationsQueryWithExtended
public MessagesSearchConversationsQueryWithExtended(VkApiClient client, GroupActor actor)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access token
-
-
Method Detail
-
q
public MessagesSearchConversationsQueryWithExtended q(java.lang.String value)
Search query string.- Parameters:
value- value of "q" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
count
public MessagesSearchConversationsQueryWithExtended count(java.lang.Integer value)
Maximum number of results.- Parameters:
value- value of "count" parameter. Maximum is 255. Minimum is 1. By default 20.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
extended
protected MessagesSearchConversationsQueryWithExtended extended(java.lang.Boolean value)
'1' — return extra information about users and communities- Parameters:
value- value of "extended" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
groupId
public MessagesSearchConversationsQueryWithExtended groupId(java.lang.Integer value)
Group ID (for group messages with user access token)- Parameters:
value- value of "group id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public MessagesSearchConversationsQueryWithExtended fields(Fields... value)
fields Profile fields to return.- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public MessagesSearchConversationsQueryWithExtended fields(java.util.List<Fields> value)
Profile fields to return.- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected MessagesSearchConversationsQueryWithExtended getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<MessagesSearchConversationsQueryWithExtended,SearchConversationsExtendedResponse>- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
essentialKeys
protected java.util.List<java.lang.String> essentialKeys()
Description copied from class:AbstractQueryBuilderGet list of required parameter names- Specified by:
essentialKeysin classAbstractQueryBuilder<MessagesSearchConversationsQueryWithExtended,SearchConversationsExtendedResponse>- Returns:
- list of names
-
-