你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ChatModelFactory.ChatMessageContent 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public static Azure.Communication.Chat.ChatMessageContent ChatMessageContent (string message, string topic, Azure.Communication.CommunicationUserIdentifier communicationUserIdentifier, System.Collections.Generic.IEnumerable<Azure.Communication.Chat.ChatParticipant> participants);
static member ChatMessageContent : string * string * Azure.Communication.CommunicationUserIdentifier * seq<Azure.Communication.Chat.ChatParticipant> -> Azure.Communication.Chat.ChatMessageContent
Public Shared Function ChatMessageContent (message As String, topic As String, communicationUserIdentifier As CommunicationUserIdentifier, participants As IEnumerable(Of ChatParticipant)) As ChatMessageContent
参数
- message
- String
聊天消息。
- topic
- String
消息内容的主题。
- communicationUserIdentifier
- CommunicationUserIdentifier
通信用户标识符。
- participants
- IEnumerable<ChatParticipant>
聊天参与者列表
返回
用于模拟的新 ChatMessageContent(String, String, CommunicationUserIdentifier, IEnumerable<ChatParticipant>) 实例。