public final class ChatThreadImpl
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
AddChatParticipantsResult |
addChatParticipants(java.lang.String chatThreadId,
AddChatParticipantsOptions addChatParticipantsRequest)
Adds thread participants to a thread.
|
java9.util.concurrent.CompletableFuture<AddChatParticipantsResult> |
addChatParticipantsAsync(java.lang.String chatThreadId,
AddChatParticipantsOptions addChatParticipantsRequest)
Adds thread participants to a thread.
|
java9.util.concurrent.CompletableFuture<AddChatParticipantsResult> |
addChatParticipantsAsync(java.lang.String chatThreadId,
AddChatParticipantsOptions addChatParticipantsRequest,
com.azure.android.core.util.RequestContext requestContext)
Adds thread participants to a thread.
|
com.azure.android.core.rest.Response<AddChatParticipantsResult> |
addChatParticipantsWithResponse(java.lang.String chatThreadId,
AddChatParticipantsOptions addChatParticipantsRequest,
com.azure.android.core.util.RequestContext requestContext)
Adds thread participants to a thread.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<AddChatParticipantsResult>> |
addChatParticipantsWithResponseAsync(java.lang.String chatThreadId,
AddChatParticipantsOptions addChatParticipantsRequest)
Adds thread participants to a thread.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<AddChatParticipantsResult>> |
addChatParticipantsWithResponseAsync(java.lang.String chatThreadId,
AddChatParticipantsOptions addChatParticipantsRequest,
com.azure.android.core.util.RequestContext requestContext)
Adds thread participants to a thread.
|
void |
deleteChatMessage(java.lang.String chatThreadId,
java.lang.String chatMessageId)
Deletes a message.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
deleteChatMessageAsync(java.lang.String chatThreadId,
java.lang.String chatMessageId)
Deletes a message.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
deleteChatMessageAsync(java.lang.String chatThreadId,
java.lang.String chatMessageId,
com.azure.android.core.util.RequestContext requestContext)
Deletes a message.
|
com.azure.android.core.rest.Response<java.lang.Void> |
deleteChatMessageWithResponse(java.lang.String chatThreadId,
java.lang.String chatMessageId,
com.azure.android.core.util.RequestContext requestContext)
Deletes a message.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> |
deleteChatMessageWithResponseAsync(java.lang.String chatThreadId,
java.lang.String chatMessageId)
Deletes a message.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> |
deleteChatMessageWithResponseAsync(java.lang.String chatThreadId,
java.lang.String chatMessageId,
com.azure.android.core.util.RequestContext requestContext)
Deletes a message.
|
ChatMessage |
getChatMessage(java.lang.String chatThreadId,
java.lang.String chatMessageId)
Gets a message by id.
|
java9.util.concurrent.CompletableFuture<ChatMessage> |
getChatMessageAsync(java.lang.String chatThreadId,
java.lang.String chatMessageId)
Gets a message by id.
|
java9.util.concurrent.CompletableFuture<ChatMessage> |
getChatMessageAsync(java.lang.String chatThreadId,
java.lang.String chatMessageId,
com.azure.android.core.util.RequestContext requestContext)
Gets a message by id.
|
com.azure.android.core.rest.Response<ChatMessage> |
getChatMessageWithResponse(java.lang.String chatThreadId,
java.lang.String chatMessageId,
com.azure.android.core.util.RequestContext requestContext)
Gets a message by id.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<ChatMessage>> |
getChatMessageWithResponseAsync(java.lang.String chatThreadId,
java.lang.String chatMessageId)
Gets a message by id.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<ChatMessage>> |
getChatMessageWithResponseAsync(java.lang.String chatThreadId,
java.lang.String chatMessageId,
com.azure.android.core.util.RequestContext requestContext)
Gets a message by id.
|
ChatThreadProperties |
getChatThreadProperties(java.lang.String chatThreadId)
Gets a chat thread's properties.
|
java9.util.concurrent.CompletableFuture<ChatThreadProperties> |
getChatThreadPropertiesAsync(java.lang.String chatThreadId)
Gets a chat thread's properties.
|
java9.util.concurrent.CompletableFuture<ChatThreadProperties> |
getChatThreadPropertiesAsync(java.lang.String chatThreadId,
com.azure.android.core.util.RequestContext requestContext)
Gets a chat thread's properties.
|
com.azure.android.core.rest.Response<ChatThreadProperties> |
getChatThreadPropertiesWithResponse(java.lang.String chatThreadId,
com.azure.android.core.util.RequestContext requestContext)
Gets a chat thread's properties.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<ChatThreadProperties>> |
getChatThreadPropertiesWithResponseAsync(java.lang.String chatThreadId)
Gets a chat thread's properties.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<ChatThreadProperties>> |
getChatThreadPropertiesWithResponseAsync(java.lang.String chatThreadId,
com.azure.android.core.util.RequestContext requestContext)
Gets a chat thread's properties.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessage>> |
listChatMessagesNextSinglePageAsync(java.lang.String nextLink)
Get the next page of items.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessage>> |
listChatMessagesNextSinglePageAsync(java.lang.String nextLink,
com.azure.android.core.util.RequestContext requestContext)
Get the next page of items.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessage>> |
listChatMessagesSinglePageAsync(java.lang.String chatThreadId,
java.lang.Integer maxPageSize,
org.threeten.bp.OffsetDateTime startTime)
Gets a list of messages from a thread.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessage>> |
listChatMessagesSinglePageAsync(java.lang.String chatThreadId,
java.lang.Integer maxPageSize,
org.threeten.bp.OffsetDateTime startTime,
com.azure.android.core.util.RequestContext requestContext)
Gets a list of messages from a thread.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatParticipant>> |
listChatParticipantsNextSinglePageAsync(java.lang.String nextLink)
Get the next page of items.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatParticipant>> |
listChatParticipantsNextSinglePageAsync(java.lang.String nextLink,
com.azure.android.core.util.RequestContext requestContext)
Get the next page of items.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatParticipant>> |
listChatParticipantsSinglePageAsync(java.lang.String chatThreadId,
java.lang.Integer maxPageSize,
java.lang.Integer skip)
Gets the participants of a thread.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatParticipant>> |
listChatParticipantsSinglePageAsync(java.lang.String chatThreadId,
java.lang.Integer maxPageSize,
java.lang.Integer skip,
com.azure.android.core.util.RequestContext requestContext)
Gets the participants of a thread.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessageReadReceipt>> |
listChatReadReceiptsNextSinglePageAsync(java.lang.String nextLink)
Get the next page of items.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessageReadReceipt>> |
listChatReadReceiptsNextSinglePageAsync(java.lang.String nextLink,
com.azure.android.core.util.RequestContext requestContext)
Get the next page of items.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessageReadReceipt>> |
listChatReadReceiptsSinglePageAsync(java.lang.String chatThreadId,
java.lang.Integer maxPageSize,
java.lang.Integer skip)
Gets chat message read receipts for a thread.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessageReadReceipt>> |
listChatReadReceiptsSinglePageAsync(java.lang.String chatThreadId,
java.lang.Integer maxPageSize,
java.lang.Integer skip,
com.azure.android.core.util.RequestContext requestContext)
Gets chat message read receipts for a thread.
|
void |
removeChatParticipant(java.lang.String chatThreadId,
CommunicationIdentifierModel participantCommunicationIdentifier)
Remove a participant from a thread.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
removeChatParticipantAsync(java.lang.String chatThreadId,
CommunicationIdentifierModel participantCommunicationIdentifier)
Remove a participant from a thread.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
removeChatParticipantAsync(java.lang.String chatThreadId,
CommunicationIdentifierModel participantCommunicationIdentifier,
com.azure.android.core.util.RequestContext requestContext)
Remove a participant from a thread.
|
com.azure.android.core.rest.Response<java.lang.Void> |
removeChatParticipantWithResponse(java.lang.String chatThreadId,
CommunicationIdentifierModel participantCommunicationIdentifier,
com.azure.android.core.util.RequestContext requestContext)
Remove a participant from a thread.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> |
removeChatParticipantWithResponseAsync(java.lang.String chatThreadId,
CommunicationIdentifierModel participantCommunicationIdentifier)
Remove a participant from a thread.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> |
removeChatParticipantWithResponseAsync(java.lang.String chatThreadId,
CommunicationIdentifierModel participantCommunicationIdentifier,
com.azure.android.core.util.RequestContext requestContext)
Remove a participant from a thread.
|
SendChatMessageResult |
sendChatMessage(java.lang.String chatThreadId,
SendChatMessageOptions sendChatMessageRequest)
Sends a message to a thread.
|
java9.util.concurrent.CompletableFuture<SendChatMessageResult> |
sendChatMessageAsync(java.lang.String chatThreadId,
SendChatMessageOptions sendChatMessageRequest)
Sends a message to a thread.
|
java9.util.concurrent.CompletableFuture<SendChatMessageResult> |
sendChatMessageAsync(java.lang.String chatThreadId,
SendChatMessageOptions sendChatMessageRequest,
com.azure.android.core.util.RequestContext requestContext)
Sends a message to a thread.
|
com.azure.android.core.rest.Response<SendChatMessageResult> |
sendChatMessageWithResponse(java.lang.String chatThreadId,
SendChatMessageOptions sendChatMessageRequest,
com.azure.android.core.util.RequestContext requestContext)
Sends a message to a thread.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<SendChatMessageResult>> |
sendChatMessageWithResponseAsync(java.lang.String chatThreadId,
SendChatMessageOptions sendChatMessageRequest)
Sends a message to a thread.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<SendChatMessageResult>> |
sendChatMessageWithResponseAsync(java.lang.String chatThreadId,
SendChatMessageOptions sendChatMessageRequest,
com.azure.android.core.util.RequestContext requestContext)
Sends a message to a thread.
|
void |
sendChatReadReceipt(java.lang.String chatThreadId,
SendReadReceiptRequest sendReadReceiptRequest)
Sends a read receipt event to a thread, on behalf of a user.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
sendChatReadReceiptAsync(java.lang.String chatThreadId,
SendReadReceiptRequest sendReadReceiptRequest)
Sends a read receipt event to a thread, on behalf of a user.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
sendChatReadReceiptAsync(java.lang.String chatThreadId,
SendReadReceiptRequest sendReadReceiptRequest,
com.azure.android.core.util.RequestContext requestContext)
Sends a read receipt event to a thread, on behalf of a user.
|
com.azure.android.core.rest.Response<java.lang.Void> |
sendChatReadReceiptWithResponse(java.lang.String chatThreadId,
SendReadReceiptRequest sendReadReceiptRequest,
com.azure.android.core.util.RequestContext requestContext)
Sends a read receipt event to a thread, on behalf of a user.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> |
sendChatReadReceiptWithResponseAsync(java.lang.String chatThreadId,
SendReadReceiptRequest sendReadReceiptRequest)
Sends a read receipt event to a thread, on behalf of a user.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> |
sendChatReadReceiptWithResponseAsync(java.lang.String chatThreadId,
SendReadReceiptRequest sendReadReceiptRequest,
com.azure.android.core.util.RequestContext requestContext)
Sends a read receipt event to a thread, on behalf of a user.
|
void |
sendTypingNotification(java.lang.String chatThreadId)
Posts a typing event to a thread, on behalf of a user.
|
void |
sendTypingNotification(java.lang.String chatThreadId,
TypingNotificationOptions sendTypingNotificationRequest)
Posts a typing event to a thread, on behalf of a user.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
sendTypingNotificationAsync(java.lang.String chatThreadId)
Posts a typing event to a thread, on behalf of a user.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
sendTypingNotificationAsync(java.lang.String chatThreadId,
TypingNotificationOptions sendTypingNotificationRequest)
Posts a typing event to a thread, on behalf of a user.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
sendTypingNotificationAsync(java.lang.String chatThreadId,
TypingNotificationOptions sendTypingNotificationRequest,
com.azure.android.core.util.RequestContext requestContext)
Posts a typing event to a thread, on behalf of a user.
|
com.azure.android.core.rest.Response<java.lang.Void> |
sendTypingNotificationWithResponse(java.lang.String chatThreadId,
TypingNotificationOptions sendTypingNotificationRequest,
com.azure.android.core.util.RequestContext requestContext)
Posts a typing event to a thread, on behalf of a user.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> |
sendTypingNotificationWithResponseAsync(java.lang.String chatThreadId,
TypingNotificationOptions sendTypingNotificationRequest)
Posts a typing event to a thread, on behalf of a user.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> |
sendTypingNotificationWithResponseAsync(java.lang.String chatThreadId,
TypingNotificationOptions sendTypingNotificationRequest,
com.azure.android.core.util.RequestContext requestContext)
Posts a typing event to a thread, on behalf of a user.
|
void |
updateChatMessage(java.lang.String chatThreadId,
java.lang.String chatMessageId,
UpdateChatMessageOptions updateChatMessageRequest)
Updates a message.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
updateChatMessageAsync(java.lang.String chatThreadId,
java.lang.String chatMessageId,
UpdateChatMessageOptions updateChatMessageRequest)
Updates a message.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
updateChatMessageAsync(java.lang.String chatThreadId,
java.lang.String chatMessageId,
UpdateChatMessageOptions updateChatMessageRequest,
com.azure.android.core.util.RequestContext requestContext)
Updates a message.
|
com.azure.android.core.rest.Response<java.lang.Void> |
updateChatMessageWithResponse(java.lang.String chatThreadId,
java.lang.String chatMessageId,
UpdateChatMessageOptions updateChatMessageRequest,
com.azure.android.core.util.RequestContext requestContext)
Updates a message.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> |
updateChatMessageWithResponseAsync(java.lang.String chatThreadId,
java.lang.String chatMessageId,
UpdateChatMessageOptions updateChatMessageRequest)
Updates a message.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> |
updateChatMessageWithResponseAsync(java.lang.String chatThreadId,
java.lang.String chatMessageId,
UpdateChatMessageOptions updateChatMessageRequest,
com.azure.android.core.util.RequestContext requestContext)
Updates a message.
|
void |
updateChatThreadProperties(java.lang.String chatThreadId,
UpdateChatThreadOptions updateChatThreadRequest)
Updates a thread's properties.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
updateChatThreadPropertiesAsync(java.lang.String chatThreadId,
UpdateChatThreadOptions updateChatThreadRequest)
Updates a thread's properties.
|
java9.util.concurrent.CompletableFuture<java.lang.Void> |
updateChatThreadPropertiesAsync(java.lang.String chatThreadId,
UpdateChatThreadOptions updateChatThreadRequest,
com.azure.android.core.util.RequestContext requestContext)
Updates a thread's properties.
|
com.azure.android.core.rest.Response<java.lang.Void> |
updateChatThreadPropertiesWithResponse(java.lang.String chatThreadId,
UpdateChatThreadOptions updateChatThreadRequest,
com.azure.android.core.util.RequestContext requestContext)
Updates a thread's properties.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> |
updateChatThreadPropertiesWithResponseAsync(java.lang.String chatThreadId,
UpdateChatThreadOptions updateChatThreadRequest)
Updates a thread's properties.
|
java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> |
updateChatThreadPropertiesWithResponseAsync(java.lang.String chatThreadId,
UpdateChatThreadOptions updateChatThreadRequest,
com.azure.android.core.util.RequestContext requestContext)
Updates a thread's properties.
|
public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessageReadReceipt>> listChatReadReceiptsSinglePageAsync(java.lang.String chatThreadId, java.lang.Integer maxPageSize, java.lang.Integer skip)
chatThreadId
- Thread id to get the chat message read receipts for.maxPageSize
- The maximum number of chat message read receipts to be returned per page.skip
- Skips chat message read receipts up to a specified position in response.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessageReadReceipt>> listChatReadReceiptsSinglePageAsync(java.lang.String chatThreadId, java.lang.Integer maxPageSize, java.lang.Integer skip, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Thread id to get the chat message read receipts for.maxPageSize
- The maximum number of chat message read receipts to be returned per page.skip
- Skips chat message read receipts up to a specified position in response.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> sendChatReadReceiptWithResponseAsync(java.lang.String chatThreadId, SendReadReceiptRequest sendReadReceiptRequest)
chatThreadId
- Thread id to send the read receipt event to.sendReadReceiptRequest
- Read receipt details.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> sendChatReadReceiptWithResponseAsync(java.lang.String chatThreadId, SendReadReceiptRequest sendReadReceiptRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Thread id to send the read receipt event to.sendReadReceiptRequest
- Read receipt details.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> sendChatReadReceiptAsync(java.lang.String chatThreadId, SendReadReceiptRequest sendReadReceiptRequest)
chatThreadId
- Thread id to send the read receipt event to.sendReadReceiptRequest
- Read receipt details.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> sendChatReadReceiptAsync(java.lang.String chatThreadId, SendReadReceiptRequest sendReadReceiptRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Thread id to send the read receipt event to.sendReadReceiptRequest
- Read receipt details.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public void sendChatReadReceipt(java.lang.String chatThreadId, SendReadReceiptRequest sendReadReceiptRequest)
chatThreadId
- Thread id to send the read receipt event to.sendReadReceiptRequest
- Read receipt details.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.android.core.rest.Response<java.lang.Void> sendChatReadReceiptWithResponse(java.lang.String chatThreadId, SendReadReceiptRequest sendReadReceiptRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Thread id to send the read receipt event to.sendReadReceiptRequest
- Read receipt details.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<SendChatMessageResult>> sendChatMessageWithResponseAsync(java.lang.String chatThreadId, SendChatMessageOptions sendChatMessageRequest)
chatThreadId
- The thread id to send the message to.sendChatMessageRequest
- Details of the message to send.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<SendChatMessageResult>> sendChatMessageWithResponseAsync(java.lang.String chatThreadId, SendChatMessageOptions sendChatMessageRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id to send the message to.sendChatMessageRequest
- Details of the message to send.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<SendChatMessageResult> sendChatMessageAsync(java.lang.String chatThreadId, SendChatMessageOptions sendChatMessageRequest)
chatThreadId
- The thread id to send the message to.sendChatMessageRequest
- Details of the message to send.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<SendChatMessageResult> sendChatMessageAsync(java.lang.String chatThreadId, SendChatMessageOptions sendChatMessageRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id to send the message to.sendChatMessageRequest
- Details of the message to send.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public SendChatMessageResult sendChatMessage(java.lang.String chatThreadId, SendChatMessageOptions sendChatMessageRequest)
chatThreadId
- The thread id to send the message to.sendChatMessageRequest
- Details of the message to send.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.android.core.rest.Response<SendChatMessageResult> sendChatMessageWithResponse(java.lang.String chatThreadId, SendChatMessageOptions sendChatMessageRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id to send the message to.sendChatMessageRequest
- Details of the message to send.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessage>> listChatMessagesSinglePageAsync(java.lang.String chatThreadId, java.lang.Integer maxPageSize, org.threeten.bp.OffsetDateTime startTime)
chatThreadId
- The thread id of the message.maxPageSize
- The maximum number of messages to be returned per page.startTime
- The earliest point in time to get messages up to. The timestamp should be in RFC3339 format:
`yyyy-MM-ddTHH:mm:ssZ`.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessage>> listChatMessagesSinglePageAsync(java.lang.String chatThreadId, java.lang.Integer maxPageSize, org.threeten.bp.OffsetDateTime startTime, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id of the message.maxPageSize
- The maximum number of messages to be returned per page.startTime
- The earliest point in time to get messages up to. The timestamp should be in RFC3339 format:
`yyyy-MM-ddTHH:mm:ssZ`.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<ChatMessage>> getChatMessageWithResponseAsync(java.lang.String chatThreadId, java.lang.String chatMessageId)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<ChatMessage>> getChatMessageWithResponseAsync(java.lang.String chatThreadId, java.lang.String chatMessageId, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<ChatMessage> getChatMessageAsync(java.lang.String chatThreadId, java.lang.String chatMessageId)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<ChatMessage> getChatMessageAsync(java.lang.String chatThreadId, java.lang.String chatMessageId, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public ChatMessage getChatMessage(java.lang.String chatThreadId, java.lang.String chatMessageId)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.android.core.rest.Response<ChatMessage> getChatMessageWithResponse(java.lang.String chatThreadId, java.lang.String chatMessageId, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> updateChatMessageWithResponseAsync(java.lang.String chatThreadId, java.lang.String chatMessageId, UpdateChatMessageOptions updateChatMessageRequest)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.updateChatMessageRequest
- Details of the request to update the message.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> updateChatMessageWithResponseAsync(java.lang.String chatThreadId, java.lang.String chatMessageId, UpdateChatMessageOptions updateChatMessageRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.updateChatMessageRequest
- Details of the request to update the message.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> updateChatMessageAsync(java.lang.String chatThreadId, java.lang.String chatMessageId, UpdateChatMessageOptions updateChatMessageRequest)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.updateChatMessageRequest
- Details of the request to update the message.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> updateChatMessageAsync(java.lang.String chatThreadId, java.lang.String chatMessageId, UpdateChatMessageOptions updateChatMessageRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.updateChatMessageRequest
- Details of the request to update the message.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public void updateChatMessage(java.lang.String chatThreadId, java.lang.String chatMessageId, UpdateChatMessageOptions updateChatMessageRequest)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.updateChatMessageRequest
- Details of the request to update the message.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.android.core.rest.Response<java.lang.Void> updateChatMessageWithResponse(java.lang.String chatThreadId, java.lang.String chatMessageId, UpdateChatMessageOptions updateChatMessageRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.updateChatMessageRequest
- Details of the request to update the message.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> deleteChatMessageWithResponseAsync(java.lang.String chatThreadId, java.lang.String chatMessageId)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> deleteChatMessageWithResponseAsync(java.lang.String chatThreadId, java.lang.String chatMessageId, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> deleteChatMessageAsync(java.lang.String chatThreadId, java.lang.String chatMessageId)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> deleteChatMessageAsync(java.lang.String chatThreadId, java.lang.String chatMessageId, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public void deleteChatMessage(java.lang.String chatThreadId, java.lang.String chatMessageId)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.android.core.rest.Response<java.lang.Void> deleteChatMessageWithResponse(java.lang.String chatThreadId, java.lang.String chatMessageId, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The thread id to which the message was sent.chatMessageId
- The message id.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatParticipant>> listChatParticipantsSinglePageAsync(java.lang.String chatThreadId, java.lang.Integer maxPageSize, java.lang.Integer skip)
chatThreadId
- Thread id to get participants for.maxPageSize
- The maximum number of participants to be returned per page.skip
- Skips participants up to a specified position in response.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatParticipant>> listChatParticipantsSinglePageAsync(java.lang.String chatThreadId, java.lang.Integer maxPageSize, java.lang.Integer skip, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Thread id to get participants for.maxPageSize
- The maximum number of participants to be returned per page.skip
- Skips participants up to a specified position in response.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> removeChatParticipantWithResponseAsync(java.lang.String chatThreadId, CommunicationIdentifierModel participantCommunicationIdentifier)
chatThreadId
- Thread id to remove the participant from.participantCommunicationIdentifier
- Id of the thread participant to remove from the thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> removeChatParticipantWithResponseAsync(java.lang.String chatThreadId, CommunicationIdentifierModel participantCommunicationIdentifier, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Thread id to remove the participant from.participantCommunicationIdentifier
- Id of the thread participant to remove from the thread.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> removeChatParticipantAsync(java.lang.String chatThreadId, CommunicationIdentifierModel participantCommunicationIdentifier)
chatThreadId
- Thread id to remove the participant from.participantCommunicationIdentifier
- Id of the thread participant to remove from the thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> removeChatParticipantAsync(java.lang.String chatThreadId, CommunicationIdentifierModel participantCommunicationIdentifier, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Thread id to remove the participant from.participantCommunicationIdentifier
- Id of the thread participant to remove from the thread.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public void removeChatParticipant(java.lang.String chatThreadId, CommunicationIdentifierModel participantCommunicationIdentifier)
chatThreadId
- Thread id to remove the participant from.participantCommunicationIdentifier
- Id of the thread participant to remove from the thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.android.core.rest.Response<java.lang.Void> removeChatParticipantWithResponse(java.lang.String chatThreadId, CommunicationIdentifierModel participantCommunicationIdentifier, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Thread id to remove the participant from.participantCommunicationIdentifier
- Id of the thread participant to remove from the thread.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<AddChatParticipantsResult>> addChatParticipantsWithResponseAsync(java.lang.String chatThreadId, AddChatParticipantsOptions addChatParticipantsRequest)
chatThreadId
- Id of the thread to add participants to.addChatParticipantsRequest
- Thread participants to be added to the thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<AddChatParticipantsResult>> addChatParticipantsWithResponseAsync(java.lang.String chatThreadId, AddChatParticipantsOptions addChatParticipantsRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Id of the thread to add participants to.addChatParticipantsRequest
- Thread participants to be added to the thread.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<AddChatParticipantsResult> addChatParticipantsAsync(java.lang.String chatThreadId, AddChatParticipantsOptions addChatParticipantsRequest)
chatThreadId
- Id of the thread to add participants to.addChatParticipantsRequest
- Thread participants to be added to the thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<AddChatParticipantsResult> addChatParticipantsAsync(java.lang.String chatThreadId, AddChatParticipantsOptions addChatParticipantsRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Id of the thread to add participants to.addChatParticipantsRequest
- Thread participants to be added to the thread.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public AddChatParticipantsResult addChatParticipants(java.lang.String chatThreadId, AddChatParticipantsOptions addChatParticipantsRequest)
chatThreadId
- Id of the thread to add participants to.addChatParticipantsRequest
- Thread participants to be added to the thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.android.core.rest.Response<AddChatParticipantsResult> addChatParticipantsWithResponse(java.lang.String chatThreadId, AddChatParticipantsOptions addChatParticipantsRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Id of the thread to add participants to.addChatParticipantsRequest
- Thread participants to be added to the thread.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> updateChatThreadPropertiesWithResponseAsync(java.lang.String chatThreadId, UpdateChatThreadOptions updateChatThreadRequest)
chatThreadId
- The id of the thread to update.updateChatThreadRequest
- Request payload for updating a chat thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> updateChatThreadPropertiesWithResponseAsync(java.lang.String chatThreadId, UpdateChatThreadOptions updateChatThreadRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The id of the thread to update.updateChatThreadRequest
- Request payload for updating a chat thread.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> updateChatThreadPropertiesAsync(java.lang.String chatThreadId, UpdateChatThreadOptions updateChatThreadRequest)
chatThreadId
- The id of the thread to update.updateChatThreadRequest
- Request payload for updating a chat thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> updateChatThreadPropertiesAsync(java.lang.String chatThreadId, UpdateChatThreadOptions updateChatThreadRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The id of the thread to update.updateChatThreadRequest
- Request payload for updating a chat thread.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public void updateChatThreadProperties(java.lang.String chatThreadId, UpdateChatThreadOptions updateChatThreadRequest)
chatThreadId
- The id of the thread to update.updateChatThreadRequest
- Request payload for updating a chat thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.android.core.rest.Response<java.lang.Void> updateChatThreadPropertiesWithResponse(java.lang.String chatThreadId, UpdateChatThreadOptions updateChatThreadRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- The id of the thread to update.updateChatThreadRequest
- Request payload for updating a chat thread.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<ChatThreadProperties>> getChatThreadPropertiesWithResponseAsync(java.lang.String chatThreadId)
chatThreadId
- Id of the thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<ChatThreadProperties>> getChatThreadPropertiesWithResponseAsync(java.lang.String chatThreadId, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Id of the thread.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<ChatThreadProperties> getChatThreadPropertiesAsync(java.lang.String chatThreadId)
chatThreadId
- Id of the thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<ChatThreadProperties> getChatThreadPropertiesAsync(java.lang.String chatThreadId, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Id of the thread.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public ChatThreadProperties getChatThreadProperties(java.lang.String chatThreadId)
chatThreadId
- Id of the thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.android.core.rest.Response<ChatThreadProperties> getChatThreadPropertiesWithResponse(java.lang.String chatThreadId, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Id of the thread.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> sendTypingNotificationWithResponseAsync(java.lang.String chatThreadId, TypingNotificationOptions sendTypingNotificationRequest)
chatThreadId
- Id of the thread.sendTypingNotificationRequest
- Details of the typing notification request.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.Response<java.lang.Void>> sendTypingNotificationWithResponseAsync(java.lang.String chatThreadId, TypingNotificationOptions sendTypingNotificationRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Id of the thread.sendTypingNotificationRequest
- Details of the typing notification request.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> sendTypingNotificationAsync(java.lang.String chatThreadId, TypingNotificationOptions sendTypingNotificationRequest)
chatThreadId
- Id of the thread.sendTypingNotificationRequest
- Details of the typing notification request.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> sendTypingNotificationAsync(java.lang.String chatThreadId)
chatThreadId
- Id of the thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<java.lang.Void> sendTypingNotificationAsync(java.lang.String chatThreadId, TypingNotificationOptions sendTypingNotificationRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Id of the thread.sendTypingNotificationRequest
- Details of the typing notification request.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public void sendTypingNotification(java.lang.String chatThreadId, TypingNotificationOptions sendTypingNotificationRequest)
chatThreadId
- Id of the thread.sendTypingNotificationRequest
- Details of the typing notification request.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public void sendTypingNotification(java.lang.String chatThreadId)
chatThreadId
- Id of the thread.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.android.core.rest.Response<java.lang.Void> sendTypingNotificationWithResponse(java.lang.String chatThreadId, TypingNotificationOptions sendTypingNotificationRequest, com.azure.android.core.util.RequestContext requestContext)
chatThreadId
- Id of the thread.sendTypingNotificationRequest
- Details of the typing notification request.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessageReadReceipt>> listChatReadReceiptsNextSinglePageAsync(java.lang.String nextLink)
nextLink
- The nextLink parameter.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessageReadReceipt>> listChatReadReceiptsNextSinglePageAsync(java.lang.String nextLink, com.azure.android.core.util.RequestContext requestContext)
nextLink
- The nextLink parameter.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessage>> listChatMessagesNextSinglePageAsync(java.lang.String nextLink)
nextLink
- The nextLink parameter.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatMessage>> listChatMessagesNextSinglePageAsync(java.lang.String nextLink, com.azure.android.core.util.RequestContext requestContext)
nextLink
- The nextLink parameter.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatParticipant>> listChatParticipantsNextSinglePageAsync(java.lang.String nextLink)
nextLink
- The nextLink parameter.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public java9.util.concurrent.CompletableFuture<com.azure.android.core.rest.util.paging.PagedResponse<ChatParticipant>> listChatParticipantsNextSinglePageAsync(java.lang.String nextLink, com.azure.android.core.util.RequestContext requestContext)
nextLink
- The nextLink parameter.requestContext
- The context to associate with this operation.java.lang.IllegalArgumentException
- thrown if parameters fail the validation.CommunicationErrorResponseException
- thrown if the request is rejected by server.java.lang.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.