Package com.vk.api.sdk.queries.messages
Class MessagesGetConversationsByIdQueryWithExtended
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<MessagesGetConversationsByIdQueryWithExtended,GetConversationsByIdExtendedResponse>
-
- com.vk.api.sdk.queries.messages.MessagesGetConversationsByIdQueryWithExtended
-
public class MessagesGetConversationsByIdQueryWithExtended extends AbstractQueryBuilder<MessagesGetConversationsByIdQueryWithExtended,GetConversationsByIdExtendedResponse>
Query for Messages.getConversationsById method
-
-
Constructor Summary
Constructors Constructor Description MessagesGetConversationsByIdQueryWithExtended(VkApiClient client, GroupActor actor, java.lang.Integer... peerIds)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersMessagesGetConversationsByIdQueryWithExtended(VkApiClient client, GroupActor actor, java.util.List<java.lang.Integer> peerIds)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersMessagesGetConversationsByIdQueryWithExtended(VkApiClient client, UserActor actor, java.lang.Integer... peerIds)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersMessagesGetConversationsByIdQueryWithExtended(VkApiClient client, UserActor actor, java.util.List<java.lang.Integer> peerIds)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 protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected MessagesGetConversationsByIdQueryWithExtendedextended(java.lang.Boolean value)Return extended propertiesMessagesGetConversationsByIdQueryWithExtendedfields(UserGroupFields... value)fields Profile and communities fields to return.MessagesGetConversationsByIdQueryWithExtendedfields(java.util.List<UserGroupFields> value)Profile and communities fields to return.protected MessagesGetConversationsByIdQueryWithExtendedgetThis()Get reference to this objectMessagesGetConversationsByIdQueryWithExtendedgroupId(java.lang.Integer value)Group ID (for group messages with group access token)protected MessagesGetConversationsByIdQueryWithExtendedpeerIds(java.lang.Integer... value)peer_ids Destination IDs.protected MessagesGetConversationsByIdQueryWithExtendedpeerIds(java.util.List<java.lang.Integer> value)Destination IDs.-
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
-
MessagesGetConversationsByIdQueryWithExtended
public MessagesGetConversationsByIdQueryWithExtended(VkApiClient client, UserActor actor, java.lang.Integer... peerIds)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenpeerIds- value of "peer ids" parameter.
-
MessagesGetConversationsByIdQueryWithExtended
public MessagesGetConversationsByIdQueryWithExtended(VkApiClient client, UserActor actor, java.util.List<java.lang.Integer> peerIds)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenpeerIds- value of "peer ids" parameter.
-
MessagesGetConversationsByIdQueryWithExtended
public MessagesGetConversationsByIdQueryWithExtended(VkApiClient client, GroupActor actor, java.lang.Integer... peerIds)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenpeerIds- value of "peer ids" parameter.
-
MessagesGetConversationsByIdQueryWithExtended
public MessagesGetConversationsByIdQueryWithExtended(VkApiClient client, GroupActor actor, java.util.List<java.lang.Integer> peerIds)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenpeerIds- value of "peer ids" parameter.
-
-
Method Detail
-
extended
protected MessagesGetConversationsByIdQueryWithExtended extended(java.lang.Boolean value)
Return extended properties- Parameters:
value- value of "extended" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
groupId
public MessagesGetConversationsByIdQueryWithExtended groupId(java.lang.Integer value)
Group ID (for group messages with group access token)- Parameters:
value- value of "group id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
peerIds
protected MessagesGetConversationsByIdQueryWithExtended peerIds(java.lang.Integer... value)
peer_ids Destination IDs. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "- Parameters:
value- value of "peer ids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
peerIds
protected MessagesGetConversationsByIdQueryWithExtended peerIds(java.util.List<java.lang.Integer> value)
Destination IDs. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "- Parameters:
value- value of "peer ids" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public MessagesGetConversationsByIdQueryWithExtended fields(UserGroupFields... value)
fields Profile and communities fields to return.- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
fields
public MessagesGetConversationsByIdQueryWithExtended fields(java.util.List<UserGroupFields> value)
Profile and communities fields to return.- Parameters:
value- value of "fields" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected MessagesGetConversationsByIdQueryWithExtended getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<MessagesGetConversationsByIdQueryWithExtended,GetConversationsByIdExtendedResponse>- 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<MessagesGetConversationsByIdQueryWithExtended,GetConversationsByIdExtendedResponse>- Returns:
- list of names
-
-