WebPubSubChatModelFactory.WebPubSubChatMessageContent Method
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 static Azure.Messaging.WebPubSub.Chat.WebPubSubChatMessageContent WebPubSubChatMessageContent(string text = default, BinaryData binary = default);
static member WebPubSubChatMessageContent : string * BinaryData -> Azure.Messaging.WebPubSub.Chat.WebPubSubChatMessageContent
Public Shared Function WebPubSubChatMessageContent (Optional text As String = Nothing, Optional binary As BinaryData = Nothing) As WebPubSubChatMessageContent
Parameters
- text
- String
Text content.
- binary
- BinaryData
Binary content (base64 encoded).
Returns
A new WebPubSubChatMessageContent instance for mocking.