ChatModelFactory.ChatMessageContent Method

Definition

Overloads

ChatMessageContent(String, String, CommunicationUserIdentifier, IEnumerable<ChatParticipant>)

Initializes a new instance of the ChatMessageContent class.

ChatMessageContent(String, String, CommunicationUserIdentifier, IEnumerable<ChatParticipant>, IEnumerable<ChatAttachment>)

Initializes a new instance of the ChatMessageContent class.

ChatMessageContent(String, String, CommunicationUserIdentifier, IEnumerable<ChatParticipant>)

Source:
ChatModelFactory.cs
Source:
ChatModelFactory.cs

Initializes a new instance of the ChatMessageContent class.

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

Parameters

message
String

Chat message.

topic
String

Topic of the message content.

communicationUserIdentifier
CommunicationUserIdentifier

Communication user identifier.

participants
IEnumerable<ChatParticipant>

List of chat participants.

Returns

A new ChatMessageContent instance for mocking.

Applies to

ChatMessageContent(String, String, CommunicationUserIdentifier, IEnumerable<ChatParticipant>, IEnumerable<ChatAttachment>)

Source:
ChatModelFactory.cs
Source:
ChatModelFactory.cs

Initializes a new instance of the ChatMessageContent class.

public static Azure.Communication.Chat.ChatMessageContent ChatMessageContent (string message, string topic, Azure.Communication.CommunicationUserIdentifier communicationUserIdentifier, System.Collections.Generic.IEnumerable<Azure.Communication.Chat.ChatParticipant> participants, System.Collections.Generic.IEnumerable<Azure.Communication.Chat.ChatAttachment> attachments = default);
static member ChatMessageContent : string * string * Azure.Communication.CommunicationUserIdentifier * seq<Azure.Communication.Chat.ChatParticipant> * seq<Azure.Communication.Chat.ChatAttachment> -> Azure.Communication.Chat.ChatMessageContent
Public Shared Function ChatMessageContent (message As String, topic As String, communicationUserIdentifier As CommunicationUserIdentifier, participants As IEnumerable(Of ChatParticipant), Optional attachments As IEnumerable(Of ChatAttachment) = Nothing) As ChatMessageContent

Parameters

message
String

Chat message.

topic
String

Topic of the message content.

communicationUserIdentifier
CommunicationUserIdentifier

Communication user identifier.

participants
IEnumerable<ChatParticipant>

List of chat participants.

attachments
IEnumerable<ChatAttachment>

List of chat attachments.

Returns

A new ChatMessageContent instance for mocking.

Applies to