MediaNotificationContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
MediaNotificationContent
is being deprecated, we encourage you to use the new ImageNotificationContent
for sending images instead.
@deprecated A request to send an image notification.
[System.Obsolete("`MediaNotificationContent` is being deprecated, we encourage you to use the new `ImageNotificationContent` for sending images instead.")]
public class MediaNotificationContent : Azure.Communication.Messages.NotificationContent, System.ClientModel.Primitives.IJsonModel<Azure.Communication.Messages.MediaNotificationContent>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.Messages.MediaNotificationContent>
[<System.Obsolete("`MediaNotificationContent` is being deprecated, we encourage you to use the new `ImageNotificationContent` for sending images instead.")>]
type MediaNotificationContent = class
inherit NotificationContent
interface IJsonModel<MediaNotificationContent>
interface IPersistableModel<MediaNotificationContent>
Public Class MediaNotificationContent
Inherits NotificationContent
Implements IJsonModel(Of MediaNotificationContent), IPersistableModel(Of MediaNotificationContent)
- Inheritance
- Attributes
- Implements
Constructors
MediaNotificationContent(Guid, IEnumerable<String>, Uri) |
Initializes a new instance of MediaNotificationContent. |
Properties
ChannelRegistrationId |
The Channel Registration ID for the Business Identifier. (Inherited from NotificationContent) |
Content |
Optional text content. |
MediaUri |
A media url for the file. Required if the type is one of the supported media types, e.g. image. |
To |
The native external platform user identifiers of the recipient. (Inherited from NotificationContent) |