共用方式為


Azure.Communication.Messages Namespace

Classes

AudioNotificationContent

A request to send an audio notification.

CommunicationMessagesClientOptions

The client options for NotificationMessagesClient and MessageTemplateClient.

CommunicationMessagesModelFactory

Model factory for models.

DocumentNotificationContent

A request to send a document notification.

ImageNotificationContent

A request to send an image notification.

MediaNotificationContent

@deprecated A request to send an image notification.

MessageReceipt

Receipt of the sending one message.

MessageTemplate

The template object used to create templates.

MessageTemplateBindings

The binding object to link values to the template specific locations Please note MessageTemplateBindings is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include WhatsAppMessageTemplateBindings.

MessageTemplateClient

The MessageTemplate service client.

MessageTemplateDocument

The message template's document value information.

MessageTemplateImage

The message template's image value information.

MessageTemplateItem

The message template as returned from the service. Please note MessageTemplateItem is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include WhatsAppMessageTemplateItem.

MessageTemplateItemWhatsApp

The WhatsApp-specific template response contract.

MessageTemplateLocation

The message template's location value information.

MessageTemplateQuickAction

The message template's quick action value information.

MessageTemplateText

The message template's text value information.

MessageTemplateValue

The class describes a parameter of a template. Please note MessageTemplateValue is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MessageTemplateDocument, MessageTemplateImage, MessageTemplateLocation, MessageTemplateQuickAction, MessageTemplateText and MessageTemplateVideo.

MessageTemplateVideo

The message template's video value information.

MessageTemplateWhatsAppBindings

The binding object to link values to the template specific locations.

NotificationContent

Details of the message to send. Please note NotificationContent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AudioNotificationContent, DocumentNotificationContent, ImageNotificationContent, MediaNotificationContent, TemplateNotificationContent, TextNotificationContent and VideoNotificationContent.

NotificationMessagesClient

The NotificationMessages service client.

SendMessageOptions

Options for the notification message.

SendMessageResult

Result of the send message operation.

TemplateNotificationContent

A request to send a template notification.

TextNotificationContent

A request to send a text notification.

VideoNotificationContent

A request to send a video notification.

Structs

CommunicationMessagesChannelType

The ChannelType.

CommunicationMessageType

The type of message. Supports text, image, template.

MessageTemplateStatus

The aggregated template status.

MessageTemplateValueKind

The template value kind.

MessageTemplateValueWhatsAppSubType

The WhatsApp button sub type.

TemplateStatus

The aggregated template status.

Enums

CommunicationMessagesClientOptions.ServiceVersion

The version of the service to use.