WebPubSubChatMessageContent 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.
Message content body.
public class WebPubSubChatMessageContent : System.ClientModel.Primitives.IJsonModel<Azure.Messaging.WebPubSub.Chat.WebPubSubChatMessageContent>, System.ClientModel.Primitives.IPersistableModel<Azure.Messaging.WebPubSub.Chat.WebPubSubChatMessageContent>
type WebPubSubChatMessageContent = class
interface IJsonModel<WebPubSubChatMessageContent>
interface IPersistableModel<WebPubSubChatMessageContent>
Public Class WebPubSubChatMessageContent
Implements IJsonModel(Of WebPubSubChatMessageContent), IPersistableModel(Of WebPubSubChatMessageContent)
- Inheritance
-
WebPubSubChatMessageContent
- Implements
Properties
| Name | Description |
|---|---|
| Binary |
Gets the binary content, serialized as a Base64-encoded string. |
| Text |
Gets the text content. |
Methods
| Name | Description |
|---|---|
| FromBinary(BinaryData) |
Creates message content containing binary data. |
| FromText(String) |
Creates message content containing text. |
| JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions) | |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions) | |
| PersistableModelWriteCore(ModelReaderWriterOptions) | |