### YamlMime:JavaType uid: "com.azure.communication.messages.NotificationMessagesAsyncClient" fullName: "com.azure.communication.messages.NotificationMessagesAsyncClient" name: "NotificationMessagesAsyncClient" nameWithType: "NotificationMessagesAsyncClient" summary: "Initializes a new instance of the asynchronous NotificationMessagesClient type." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **NotificationMessagesAsyncClient**" methods: - uid: "com.azure.communication.messages.NotificationMessagesAsyncClient.downloadMedia(java.lang.String)" fullName: "com.azure.communication.messages.NotificationMessagesAsyncClient.downloadMedia(String mediaId)" name: "downloadMedia(String mediaId)" nameWithType: "NotificationMessagesAsyncClient.downloadMedia(String mediaId)" summary: "Download the Media payload from a User to Business message." parameters: - description: "The stream ID." name: "mediaId" type: "String" syntax: "public Mono downloadMedia(String mediaId)" desc: "Download the Media payload from a User to Business message." returns: description: "the response body on successful completion of ." type: "Mono<>" - uid: "com.azure.communication.messages.NotificationMessagesAsyncClient.downloadMediaWithResponse(java.lang.String,com.azure.core.http.rest.RequestOptions)" fullName: "com.azure.communication.messages.NotificationMessagesAsyncClient.downloadMediaWithResponse(String mediaId, RequestOptions requestOptions)" name: "downloadMediaWithResponse(String mediaId, RequestOptions requestOptions)" nameWithType: "NotificationMessagesAsyncClient.downloadMediaWithResponse(String mediaId, RequestOptions requestOptions)" summary: "Download the Media payload from a User to Business message." parameters: - description: "The stream ID." name: "mediaId" type: "String" - description: "The options to configure the HTTP request before HTTP client sends it." name: "requestOptions" type: "" syntax: "public Mono> downloadMediaWithResponse(String mediaId, RequestOptions requestOptions)" desc: "Download the Media payload from a User to Business message.\n\n**Response Body Schema**\n\n```java\nBinaryData\n```" returns: description: "the response body along with on successful completion of ." type: "Mono<<>>" - uid: "com.azure.communication.messages.NotificationMessagesAsyncClient.send(com.azure.communication.messages.models.NotificationContent)" fullName: "com.azure.communication.messages.NotificationMessagesAsyncClient.send(NotificationContent notificationContent)" name: "send(NotificationContent notificationContent)" nameWithType: "NotificationMessagesAsyncClient.send(NotificationContent notificationContent)" summary: "Sends a notification message from Business to User." parameters: - description: "Details of the message to send." name: "notificationContent" type: "" syntax: "public Mono send(NotificationContent notificationContent)" desc: "Sends a notification message from Business to User." returns: description: "result of the send message operation on successful completion of ." type: "Mono<>" - uid: "com.azure.communication.messages.NotificationMessagesAsyncClient.sendWithResponse(com.azure.core.util.BinaryData,com.azure.core.http.rest.RequestOptions)" fullName: "com.azure.communication.messages.NotificationMessagesAsyncClient.sendWithResponse(BinaryData notificationContent, RequestOptions requestOptions)" name: "sendWithResponse(BinaryData notificationContent, RequestOptions requestOptions)" nameWithType: "NotificationMessagesAsyncClient.sendWithResponse(BinaryData notificationContent, RequestOptions requestOptions)" summary: "Sends a notification message from Business to User." parameters: - description: "Details of the message to send." name: "notificationContent" type: "" - description: "The options to configure the HTTP request before HTTP client sends it." name: "requestOptions" type: "" syntax: "public Mono> sendWithResponse(BinaryData notificationContent, RequestOptions requestOptions)" desc: "Sends a notification message from Business to User.\n\n**Header Parameters**\n\n | ------------------------ | ------ | -------- | -------------------------------------------- |\n | Name | Type | Required | Description |\n | repeatability-request-id | String | No | Repeatability request ID header |\n | repeatability-first-sent | String | No | Repeatability first sent header as HTTP-date |\n\nYou can add these to a request with \n\n**Request Body Schema**\n\n```java\n{\n channelRegistrationId: String (Required)\n to (Required): [\n String (Required)\n ]\n }\n```\n\n**Response Body Schema**\n\n```java\n{\n receipts (Required): [\n (Required){\n messageId: String (Required)\n to: String (Required)\n }\n ]\n }\n```" returns: description: "result of the send message operation along with on successful completion of\n ." type: "Mono<<>>" type: "class" desc: "Initializes a new instance of the asynchronous NotificationMessagesClient type." metadata: {} package: "com.azure.communication.messages" artifact: com.azure:azure-communication-messages:1.0.6