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
Constructors
| Name | Description |
|---|---|
| WebPubSubChatMessageContent() |
Initializes a new instance of WebPubSubChatMessageContent. |
Properties
| Name | Description |
|---|---|
| Binary |
Binary content (base64 encoded). To assign a byte[] to this property use FromBytes(Byte[]). The byte[] will be serialized to a Base64 encoded string. Examples:
|
| Text |
Text content. |