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 roomdeleteChatsRoomMessagesPinAsync(DeleteChatsRoomMessagesPinRequest request, AsyncApiCallback<Void> callback) Remove a pinned message from a roomdeleteChatsRoomMessagesPinAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Remove a pinned message from 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.deleteChatsUserMessageAsync(DeleteChatsUserMessageRequest request, AsyncApiCallback<Void> callback) Delete a message to a userdeleteChatsUserMessageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a message to a userdeleteChatsUserMessagesPinAsync(DeleteChatsUserMessagesPinRequest request, AsyncApiCallback<Void> callback) Remove a pinned message from a 1on1deleteChatsUserMessagesPinAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Remove a pinned message from a 1on1deleteChatsUsersMeSettingsAsync(DeleteChatsUsersMeSettingsRequest request, AsyncApiCallback<Void> callback) Delete a user's chat settingsdeleteChatsUsersMeSettingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a user's chat settingsgetChatsMessageAsync(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 threadgetChatsUserAsync(GetChatsUserRequest request, AsyncApiCallback<OneOnOne> callback) Get information for a 1on1getChatsUserAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<OneOnOne>> callback) Get information for a 1on1getChatsUserMessageAsync(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 settingsgetChatsUserSettingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ChatUserSettings>> callback) Get a user's chat settingsgetChatsUsersMeSettingsAsync(GetChatsUsersMeSettingsRequest request, AsyncApiCallback<UserSettingsForChat> callback) Get a user's chat settingsgetChatsUsersMeSettingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UserSettingsForChat>> callback) Get a user's chat settingspatchChatsRoomAsync(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 settingspatchChatsUserSettingsAsync(ApiRequest<ChatUserSettings> request, AsyncApiCallback<ApiResponse<ChatUserSettings>> callback) Update a user's chat settingspatchChatsUsersMeSettingsAsync(PatchChatsUsersMeSettingsRequest request, AsyncApiCallback<UserSettingsForChat> callback) Update a user's chat settingspatchChatsUsersMeSettingsAsync(ApiRequest<UserSettingsForChat> request, AsyncApiCallback<ApiResponse<UserSettingsForChat>> callback) Update a user's chat settingspostChatsRoomMessagesAsync(PostChatsRoomMessagesRequest request, AsyncApiCallback<ChatSendMessageResponse> callback) Send a message to a roompostChatsRoomMessagesAsync(ApiRequest<SendMessageBody> request, AsyncApiCallback<ApiResponse<ChatSendMessageResponse>> callback) Send a message to a roompostChatsRoomMessagesPinsAsync(PostChatsRoomMessagesPinsRequest request, AsyncApiCallback<Void> callback) Add pinned messages for a room, up to a maximum of 5 pinned messagespostChatsRoomMessagesPinsAsync(ApiRequest<PinnedMessageRequest> request, AsyncApiCallback<ApiResponse<Void>> callback) Add pinned messages for a room, up to a maximum of 5 pinned messagespostChatsRoomParticipantAsync(PostChatsRoomParticipantRequest request, AsyncApiCallback<Void> callback) Join a roompostChatsRoomParticipantAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Join a roompostChatsRoomsAsync(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 userpostChatsUserMessagesPinsAsync(PostChatsUserMessagesPinsRequest request, AsyncApiCallback<Void> callback) Add pinned messages for a 1on1, up to a maximum of 5 pinned messagespostChatsUserMessagesPinsAsync(ApiRequest<PinnedMessageRequest> request, AsyncApiCallback<ApiResponse<Void>> callback) Add pinned messages for a 1on1, up to a maximum of 5 pinned messagespostChatsUsersMeSettingsAsync(PostChatsUsersMeSettingsRequest request, AsyncApiCallback<Void> callback) Create a user's chat settingspostChatsUsersMeSettingsAsync(ApiRequest<UserChatSettingsPost> request, AsyncApiCallback<ApiResponse<Void>> callback) Create a user's chat settingsputChatsMessageReactionsAsync(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
-
deleteChatsRoomMessagesPinAsync
public Future<Void> deleteChatsRoomMessagesPinAsync(DeleteChatsRoomMessagesPinRequest 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
-
deleteChatsRoomMessagesPinAsync
public Future<ApiResponse<Void>> deleteChatsRoomMessagesPinAsync(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
-
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
-
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
-
deleteChatsUserMessagesPinAsync
public Future<Void> deleteChatsUserMessagesPinAsync(DeleteChatsUserMessagesPinRequest request, AsyncApiCallback<Void> callback) Remove a pinned message 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
-
deleteChatsUserMessagesPinAsync
public Future<ApiResponse<Void>> deleteChatsUserMessagesPinAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Remove a pinned message 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
-
deleteChatsUsersMeSettingsAsync
public Future<Void> deleteChatsUsersMeSettingsAsync(DeleteChatsUsersMeSettingsRequest request, AsyncApiCallback<Void> callback) Delete a user's 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
-
deleteChatsUsersMeSettingsAsync
public Future<ApiResponse<Void>> deleteChatsUsersMeSettingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a user's 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
-
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
-
getChatsUserAsync
public Future<OneOnOne> getChatsUserAsync(GetChatsUserRequest request, AsyncApiCallback<OneOnOne> callback) Get information for 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
-
getChatsUserAsync
public Future<ApiResponse<OneOnOne>> getChatsUserAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<OneOnOne>> callback) Get information for 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<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- 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- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getChatsUsersMeSettingsAsync
public Future<UserSettingsForChat> getChatsUsersMeSettingsAsync(GetChatsUsersMeSettingsRequest request, AsyncApiCallback<UserSettingsForChat> callback) Get a user's 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
-
getChatsUsersMeSettingsAsync
public Future<ApiResponse<UserSettingsForChat>> getChatsUsersMeSettingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UserSettingsForChat>> callback) Get a user's 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
-
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- 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- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchChatsUsersMeSettingsAsync
public Future<UserSettingsForChat> patchChatsUsersMeSettingsAsync(PatchChatsUsersMeSettingsRequest request, AsyncApiCallback<UserSettingsForChat> callback) Update a user's 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
-
patchChatsUsersMeSettingsAsync
public Future<ApiResponse<UserSettingsForChat>> patchChatsUsersMeSettingsAsync(ApiRequest<UserSettingsForChat> request, AsyncApiCallback<ApiResponse<UserSettingsForChat>> callback) Update a user's 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
-
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
-
postChatsRoomMessagesPinsAsync
public Future<Void> postChatsRoomMessagesPinsAsync(PostChatsRoomMessagesPinsRequest 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
-
postChatsRoomMessagesPinsAsync
public Future<ApiResponse<Void>> postChatsRoomMessagesPinsAsync(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
-
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
-
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
-
postChatsUserMessagesPinsAsync
public Future<Void> postChatsUserMessagesPinsAsync(PostChatsUserMessagesPinsRequest request, AsyncApiCallback<Void> callback) Add pinned messages for a 1on1, 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
-
postChatsUserMessagesPinsAsync
public Future<ApiResponse<Void>> postChatsUserMessagesPinsAsync(ApiRequest<PinnedMessageRequest> request, AsyncApiCallback<ApiResponse<Void>> callback) Add pinned messages for a 1on1, 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
-
postChatsUsersMeSettingsAsync
public Future<Void> postChatsUsersMeSettingsAsync(PostChatsUsersMeSettingsRequest request, AsyncApiCallback<Void> callback) Create a user's 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
-
postChatsUsersMeSettingsAsync
public Future<ApiResponse<Void>> postChatsUsersMeSettingsAsync(ApiRequest<UserChatSettingsPost> request, AsyncApiCallback<ApiResponse<Void>> callback) Create a user's 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
-
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
-