你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StickerNotificationContent Class

Definition

A request to send a Sticker notification.

public class StickerNotificationContent : Azure.Communication.Messages.NotificationContent, System.ClientModel.Primitives.IJsonModel<Azure.Communication.Messages.StickerNotificationContent>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.Messages.StickerNotificationContent>
type StickerNotificationContent = class
    inherit NotificationContent
    interface IJsonModel<StickerNotificationContent>
    interface IPersistableModel<StickerNotificationContent>
Public Class StickerNotificationContent
Inherits NotificationContent
Implements IJsonModel(Of StickerNotificationContent), IPersistableModel(Of StickerNotificationContent)
Inheritance
StickerNotificationContent
Implements

Constructors

StickerNotificationContent(Guid, IEnumerable<String>, Uri)

Initializes a new instance of StickerNotificationContent.

Properties

ChannelRegistrationId

The Channel Registration ID for the Business Identifier.

(Inherited from NotificationContent)
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)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NotificationContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from NotificationContent)
IJsonModel<NotificationContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NotificationContent)
IJsonModel<StickerNotificationContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StickerNotificationContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NotificationContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NotificationContent)
IPersistableModel<NotificationContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from NotificationContent)
IPersistableModel<NotificationContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NotificationContent)
IPersistableModel<StickerNotificationContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StickerNotificationContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StickerNotificationContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to