Package com.mypurecloud.sdk.v2.api
Class ChatApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.ChatApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteChatsRoomMessageAsync(DeleteChatsRoomMessageRequest request, AsyncApiCallback<Void> callback) Delete a message in a roomdeleteChatsRoomMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a message in a roomdeleteChatsRoomParticipantAsync(DeleteChatsRoomParticipantRequest request, AsyncApiCallback<Void> callback) Remove a user from a room.deleteChatsRoomParticipantAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Remove a user from a room.deleteChatsRoomPinnedmessageAsync(DeleteChatsRoomPinnedmessageRequest request, AsyncApiCallback<Void> callback) Remove a pinned message from a roomdeleteChatsRoomPinnedmessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Remove a pinned message from a roomdeleteChatsUserMessageAsync(DeleteChatsUserMessageRequest request, AsyncApiCallback<Void> callback) Delete a message to a userdeleteChatsUserMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a message to a usergetChatsMessageAsync(GetChatsMessageRequest request, AsyncApiCallback<ChatMessageResponse> callback) Get a messagegetChatsMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatMessageResponse>> callback) Get a messagegetChatsRoomAsync(GetChatsRoomRequest request, AsyncApiCallback<Room> callback) Get a roomgetChatsRoomAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Room>> callback) Get a roomgetChatsRoomMessageAsync(GetChatsRoomMessageRequest request, AsyncApiCallback<ChatMessageEntityListing> callback) Get messages by id(s) from a roomgetChatsRoomMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatMessageEntityListing>> callback) Get messages by id(s) from a roomgetChatsRoomMessagesAsync(GetChatsRoomMessagesRequest request, AsyncApiCallback<ChatMessageEntityListing> callback) Get a room's message historygetChatsRoomMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatMessageEntityListing>> callback) Get a room's message historygetChatsRoomParticipantAsync(GetChatsRoomParticipantRequest request, AsyncApiCallback<RoomParticipant> callback) Get a room participantgetChatsRoomParticipantAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<RoomParticipant>> callback) Get a room participantgetChatsRoomParticipantsAsync(GetChatsRoomParticipantsRequest request, AsyncApiCallback<RoomParticipantsResponse> callback) Get room participants in a roomgetChatsRoomParticipantsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<RoomParticipantsResponse>> callback) Get room participants in a roomgetChatsSettingsAsync(GetChatsSettingsRequest request, AsyncApiCallback<ChatSettings> callback) Get Chat Settings.getChatsSettingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatSettings>> callback) Get Chat Settings.getChatsThreadMessagesAsync(GetChatsThreadMessagesRequest request, AsyncApiCallback<ChatMessageEntityListing> callback) Get history by threadgetChatsThreadMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatMessageEntityListing>> callback) Get history by threadgetChatsUserMessageAsync(GetChatsUserMessageRequest request, AsyncApiCallback<ChatMessageEntityListing> callback) Get messages by id(s) from a 1on1getChatsUserMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatMessageEntityListing>> callback) Get messages by id(s) from a 1on1getChatsUserMessagesAsync(GetChatsUserMessagesRequest request, AsyncApiCallback<ChatMessageResponse> callback) Get 1on1 History between a usergetChatsUserMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatMessageResponse>> callback) Get 1on1 History between a usergetChatsUserSettingsAsync(GetChatsUserSettingsRequest request, AsyncApiCallback<ChatUserSettings> callback) Get a user's chat settings getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticegetChatsUserSettingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatUserSettings>> callback) Get a user's chat settings getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticepatchChatsRoomAsync(PatchChatsRoomRequest request, AsyncApiCallback<Void> callback) Set properties for a roompatchChatsRoomAsync(ApiRequest<RoomUpdateRequest> request, AsyncApiCallback<ApiResponse<Void>> callback) Set properties for a roompatchChatsRoomMessageAsync(PatchChatsRoomMessageRequest request, AsyncApiCallback<ChatSendMessageResponse> callback) Edit a message in a roompatchChatsRoomMessageAsync(ApiRequest<SendMessageBody> request, AsyncApiCallback<ApiResponse<ChatSendMessageResponse>> callback) Edit a message in a roompatchChatsSettingsAsync(PatchChatsSettingsRequest request, AsyncApiCallback<ChatSettings> callback) Patch Chat Settings.patchChatsSettingsAsync(ApiRequest<ChatSettings> request, AsyncApiCallback<ApiResponse<ChatSettings>> callback) Patch Chat Settings.patchChatsUserMessageAsync(PatchChatsUserMessageRequest request, AsyncApiCallback<ChatSendMessageResponse> callback) Edit a message to a userpatchChatsUserMessageAsync(ApiRequest<SendMessageBody> request, AsyncApiCallback<ApiResponse<ChatSendMessageResponse>> callback) Edit a message to a userpatchChatsUserSettingsAsync(PatchChatsUserSettingsRequest request, AsyncApiCallback<ChatUserSettings> callback) Update a user's chat settings patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticepatchChatsUserSettingsAsync(ApiRequest<ChatUserSettings> request, AsyncApiCallback<ApiResponse<ChatUserSettings>> callback) Update a user's chat settings patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without noticepostChatsRoomMessagesAsync(PostChatsRoomMessagesRequest request, AsyncApiCallback<ChatSendMessageResponse> callback) Send a message to a roompostChatsRoomMessagesAsync(ApiRequest<SendMessageBody> request, AsyncApiCallback<ApiResponse<ChatSendMessageResponse>> callback) Send a message to a roompostChatsRoomParticipantAsync(PostChatsRoomParticipantRequest request, AsyncApiCallback<Void> callback) Join a roompostChatsRoomParticipantAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Join a roompostChatsRoomPinnedmessagesAsync(PostChatsRoomPinnedmessagesRequest request, AsyncApiCallback<Void> callback) Add pinned messages for a room, up to a maximum of 5 pinned messagespostChatsRoomPinnedmessagesAsync(ApiRequest<PinnedMessageRequest> request, AsyncApiCallback<ApiResponse<Void>> callback) Add pinned messages for a room, up to a maximum of 5 pinned messagespostChatsRoomsAsync(PostChatsRoomsRequest request, AsyncApiCallback<CreateRoomResponse> callback) Create an adhoc roompostChatsRoomsAsync(ApiRequest<CreateRoomRequest> request, AsyncApiCallback<ApiResponse<CreateRoomResponse>> callback) Create an adhoc roompostChatsUserMessagesAsync(PostChatsUserMessagesRequest request, AsyncApiCallback<ChatSendMessageResponse> callback) Send a message to a userpostChatsUserMessagesAsync(ApiRequest<SendMessageBody> request, AsyncApiCallback<ApiResponse<ChatSendMessageResponse>> callback) Send a message to a userputChatsMessageReactionsAsync(PutChatsMessageReactionsRequest request, AsyncApiCallback<Void> callback) Update reactions to a messageputChatsMessageReactionsAsync(ApiRequest<ChatReactionUpdate> request, AsyncApiCallback<ApiResponse<Void>> callback) Update reactions to a messageputChatsSettingsAsync(PutChatsSettingsRequest request, AsyncApiCallback<ChatSettings> callback) Update Chat Settings.putChatsSettingsAsync(ApiRequest<ChatSettings> request, AsyncApiCallback<ApiResponse<ChatSettings>> callback) Update Chat Settings.
-
Constructor Details
-
ChatApiAsync
public ChatApiAsync() -
ChatApiAsync
-
-
Method Details
-
deleteChatsRoomMessageAsync
public Future<Void> deleteChatsRoomMessageAsync(DeleteChatsRoomMessageRequest request, AsyncApiCallback<Void> callback) Delete a message in a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteChatsRoomMessageAsync
public Future<ApiResponse<Void>> deleteChatsRoomMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a message in a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteChatsRoomParticipantAsync
public Future<Void> deleteChatsRoomParticipantAsync(DeleteChatsRoomParticipantRequest request, AsyncApiCallback<Void> callback) Remove a user from a room.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteChatsRoomParticipantAsync
public Future<ApiResponse<Void>> deleteChatsRoomParticipantAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Remove a user from a room.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteChatsRoomPinnedmessageAsync
public Future<Void> deleteChatsRoomPinnedmessageAsync(DeleteChatsRoomPinnedmessageRequest request, AsyncApiCallback<Void> callback) Remove a pinned message from a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteChatsRoomPinnedmessageAsync
public Future<ApiResponse<Void>> deleteChatsRoomPinnedmessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Remove a pinned message from a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteChatsUserMessageAsync
public Future<Void> deleteChatsUserMessageAsync(DeleteChatsUserMessageRequest request, AsyncApiCallback<Void> callback) Delete a message to a user- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteChatsUserMessageAsync
public Future<ApiResponse<Void>> deleteChatsUserMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a message to a user- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsMessageAsync
public Future<ChatMessageResponse> getChatsMessageAsync(GetChatsMessageRequest request, AsyncApiCallback<ChatMessageResponse> callback) Get a message- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsMessageAsync
public Future<ApiResponse<ChatMessageResponse>> getChatsMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatMessageResponse>> callback) Get a message- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsRoomAsync
Get a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsRoomAsync
public Future<ApiResponse<Room>> getChatsRoomAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Room>> callback) Get a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsRoomMessageAsync
public Future<ChatMessageEntityListing> getChatsRoomMessageAsync(GetChatsRoomMessageRequest request, AsyncApiCallback<ChatMessageEntityListing> callback) Get messages by id(s) from a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsRoomMessageAsync
public Future<ApiResponse<ChatMessageEntityListing>> getChatsRoomMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatMessageEntityListing>> callback) Get messages by id(s) from a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsRoomMessagesAsync
public Future<ChatMessageEntityListing> getChatsRoomMessagesAsync(GetChatsRoomMessagesRequest request, AsyncApiCallback<ChatMessageEntityListing> callback) Get a room's message history- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsRoomMessagesAsync
public Future<ApiResponse<ChatMessageEntityListing>> getChatsRoomMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatMessageEntityListing>> callback) Get a room's message history- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsRoomParticipantAsync
public Future<RoomParticipant> getChatsRoomParticipantAsync(GetChatsRoomParticipantRequest request, AsyncApiCallback<RoomParticipant> callback) Get a room participant- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsRoomParticipantAsync
public Future<ApiResponse<RoomParticipant>> getChatsRoomParticipantAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<RoomParticipant>> callback) Get a room participant- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsRoomParticipantsAsync
public Future<RoomParticipantsResponse> getChatsRoomParticipantsAsync(GetChatsRoomParticipantsRequest request, AsyncApiCallback<RoomParticipantsResponse> callback) Get room participants in a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsRoomParticipantsAsync
public Future<ApiResponse<RoomParticipantsResponse>> getChatsRoomParticipantsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<RoomParticipantsResponse>> callback) Get room participants in a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsSettingsAsync
public Future<ChatSettings> getChatsSettingsAsync(GetChatsSettingsRequest request, AsyncApiCallback<ChatSettings> callback) Get Chat Settings.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsSettingsAsync
public Future<ApiResponse<ChatSettings>> getChatsSettingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatSettings>> callback) Get Chat Settings.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsThreadMessagesAsync
public Future<ChatMessageEntityListing> getChatsThreadMessagesAsync(GetChatsThreadMessagesRequest request, AsyncApiCallback<ChatMessageEntityListing> callback) Get history by thread- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsThreadMessagesAsync
public Future<ApiResponse<ChatMessageEntityListing>> getChatsThreadMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatMessageEntityListing>> callback) Get history by thread- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsUserMessageAsync
public Future<ChatMessageEntityListing> getChatsUserMessageAsync(GetChatsUserMessageRequest request, AsyncApiCallback<ChatMessageEntityListing> callback) Get messages by id(s) from a 1on1- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsUserMessageAsync
public Future<ApiResponse<ChatMessageEntityListing>> getChatsUserMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatMessageEntityListing>> callback) Get messages by id(s) from a 1on1- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsUserMessagesAsync
public Future<ChatMessageResponse> getChatsUserMessagesAsync(GetChatsUserMessagesRequest request, AsyncApiCallback<ChatMessageResponse> callback) Get 1on1 History between a user- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsUserMessagesAsync
public Future<ApiResponse<ChatMessageResponse>> getChatsUserMessagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatMessageResponse>> callback) Get 1on1 History between a user- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsUserSettingsAsync
public Future<ChatUserSettings> getChatsUserSettingsAsync(GetChatsUserSettingsRequest request, AsyncApiCallback<ChatUserSettings> callback) Get a user's chat settings getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsUserSettingsAsync
public Future<ApiResponse<ChatUserSettings>> getChatsUserSettingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatUserSettings>> callback) Get a user's chat settings getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchChatsRoomAsync
public Future<Void> patchChatsRoomAsync(PatchChatsRoomRequest request, AsyncApiCallback<Void> callback) Set properties for a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchChatsRoomAsync
public Future<ApiResponse<Void>> patchChatsRoomAsync(ApiRequest<RoomUpdateRequest> request, AsyncApiCallback<ApiResponse<Void>> callback) Set properties for a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchChatsRoomMessageAsync
public Future<ChatSendMessageResponse> patchChatsRoomMessageAsync(PatchChatsRoomMessageRequest request, AsyncApiCallback<ChatSendMessageResponse> callback) Edit a message in a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchChatsRoomMessageAsync
public Future<ApiResponse<ChatSendMessageResponse>> patchChatsRoomMessageAsync(ApiRequest<SendMessageBody> request, AsyncApiCallback<ApiResponse<ChatSendMessageResponse>> callback) Edit a message in a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchChatsSettingsAsync
public Future<ChatSettings> patchChatsSettingsAsync(PatchChatsSettingsRequest request, AsyncApiCallback<ChatSettings> callback) Patch Chat Settings.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchChatsSettingsAsync
public Future<ApiResponse<ChatSettings>> patchChatsSettingsAsync(ApiRequest<ChatSettings> request, AsyncApiCallback<ApiResponse<ChatSettings>> callback) Patch Chat Settings.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchChatsUserMessageAsync
public Future<ChatSendMessageResponse> patchChatsUserMessageAsync(PatchChatsUserMessageRequest request, AsyncApiCallback<ChatSendMessageResponse> callback) Edit a message to a user- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchChatsUserMessageAsync
public Future<ApiResponse<ChatSendMessageResponse>> patchChatsUserMessageAsync(ApiRequest<SendMessageBody> request, AsyncApiCallback<ApiResponse<ChatSendMessageResponse>> callback) Edit a message to a user- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchChatsUserSettingsAsync
public Future<ChatUserSettings> patchChatsUserSettingsAsync(PatchChatsUserSettingsRequest request, AsyncApiCallback<ChatUserSettings> callback) Update a user's chat settings patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchChatsUserSettingsAsync
public Future<ApiResponse<ChatUserSettings>> patchChatsUserSettingsAsync(ApiRequest<ChatUserSettings> request, AsyncApiCallback<ApiResponse<ChatUserSettings>> callback) Update a user's chat settings patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postChatsRoomMessagesAsync
public Future<ChatSendMessageResponse> postChatsRoomMessagesAsync(PostChatsRoomMessagesRequest request, AsyncApiCallback<ChatSendMessageResponse> callback) Send a message to a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postChatsRoomMessagesAsync
public Future<ApiResponse<ChatSendMessageResponse>> postChatsRoomMessagesAsync(ApiRequest<SendMessageBody> request, AsyncApiCallback<ApiResponse<ChatSendMessageResponse>> callback) Send a message to a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postChatsRoomParticipantAsync
public Future<Void> postChatsRoomParticipantAsync(PostChatsRoomParticipantRequest request, AsyncApiCallback<Void> callback) Join a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postChatsRoomParticipantAsync
public Future<ApiResponse<Void>> postChatsRoomParticipantAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Join a room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postChatsRoomPinnedmessagesAsync
public Future<Void> postChatsRoomPinnedmessagesAsync(PostChatsRoomPinnedmessagesRequest request, AsyncApiCallback<Void> callback) Add pinned messages for a room, up to a maximum of 5 pinned messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postChatsRoomPinnedmessagesAsync
public Future<ApiResponse<Void>> postChatsRoomPinnedmessagesAsync(ApiRequest<PinnedMessageRequest> request, AsyncApiCallback<ApiResponse<Void>> callback) Add pinned messages for a room, up to a maximum of 5 pinned messages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postChatsRoomsAsync
public Future<CreateRoomResponse> postChatsRoomsAsync(PostChatsRoomsRequest request, AsyncApiCallback<CreateRoomResponse> callback) Create an adhoc room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postChatsRoomsAsync
public Future<ApiResponse<CreateRoomResponse>> postChatsRoomsAsync(ApiRequest<CreateRoomRequest> request, AsyncApiCallback<ApiResponse<CreateRoomResponse>> callback) Create an adhoc room- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postChatsUserMessagesAsync
public Future<ChatSendMessageResponse> postChatsUserMessagesAsync(PostChatsUserMessagesRequest request, AsyncApiCallback<ChatSendMessageResponse> callback) Send a message to a user- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postChatsUserMessagesAsync
public Future<ApiResponse<ChatSendMessageResponse>> postChatsUserMessagesAsync(ApiRequest<SendMessageBody> request, AsyncApiCallback<ApiResponse<ChatSendMessageResponse>> callback) Send a message to a user- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putChatsMessageReactionsAsync
public Future<Void> putChatsMessageReactionsAsync(PutChatsMessageReactionsRequest request, AsyncApiCallback<Void> callback) Update reactions to a message- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putChatsMessageReactionsAsync
public Future<ApiResponse<Void>> putChatsMessageReactionsAsync(ApiRequest<ChatReactionUpdate> request, AsyncApiCallback<ApiResponse<Void>> callback) Update reactions to a message- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putChatsSettingsAsync
public Future<ChatSettings> putChatsSettingsAsync(PutChatsSettingsRequest request, AsyncApiCallback<ChatSettings> callback) Update Chat Settings.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putChatsSettingsAsync
public Future<ApiResponse<ChatSettings>> putChatsSettingsAsync(ApiRequest<ChatSettings> request, AsyncApiCallback<ApiResponse<ChatSettings>> callback) Update Chat Settings.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-