ChatModelFactory.ChatParticipant 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.
Overloads
ChatParticipant(CommunicationIdentifier, String, Nullable<DateTimeOffset>) |
Initializes a new instance of the ChatParticipant(CommunicationIdentifier, String, Nullable<DateTimeOffset>) class. |
ChatParticipant(CommunicationIdentifier, String, Nullable<DateTimeOffset>, IDictionary<String,String>) |
Initializes a new instance of the ChatParticipant class. |
ChatParticipant(CommunicationIdentifier, String, Nullable<DateTimeOffset>)
- Source:
- ChatModelFactory.cs
- Source:
- ChatModelFactory.cs
Initializes a new instance of the ChatParticipant(CommunicationIdentifier, String, Nullable<DateTimeOffset>) class.
public static Azure.Communication.Chat.ChatParticipant ChatParticipant (Azure.Communication.CommunicationIdentifier user, string displayName, DateTimeOffset? shareHistoryTime);
static member ChatParticipant : Azure.Communication.CommunicationIdentifier * string * Nullable<DateTimeOffset> -> Azure.Communication.Chat.ChatParticipant
Public Shared Function ChatParticipant (user As CommunicationIdentifier, displayName As String, shareHistoryTime As Nullable(Of DateTimeOffset)) As ChatParticipant
Parameters
User
- displayName
- String
Display name for the chat thread member.
- shareHistoryTime
- Nullable<DateTimeOffset>
Time from which the chat history is shared with the member. The timestamp is in ISO8601 format: yyyy-MM-ddTHH:mm:ssZ
.
Returns
A new ChatParticipant(CommunicationIdentifier, String, Nullable<DateTimeOffset>) instance for mocking.
Applies to
ChatParticipant(CommunicationIdentifier, String, Nullable<DateTimeOffset>, IDictionary<String,String>)
- Source:
- ChatModelFactory.cs
Initializes a new instance of the ChatParticipant class.
public static Azure.Communication.Chat.ChatParticipant ChatParticipant (Azure.Communication.CommunicationIdentifier user, string displayName, DateTimeOffset? shareHistoryTime, System.Collections.Generic.IDictionary<string,string> metadata);
static member ChatParticipant : Azure.Communication.CommunicationIdentifier * string * Nullable<DateTimeOffset> * System.Collections.Generic.IDictionary<string, string> -> Azure.Communication.Chat.ChatParticipant
Public Shared Function ChatParticipant (user As CommunicationIdentifier, displayName As String, shareHistoryTime As Nullable(Of DateTimeOffset), metadata As IDictionary(Of String, String)) As ChatParticipant
Parameters
User
- displayName
- String
Display name for the chat thread member.
- shareHistoryTime
- Nullable<DateTimeOffset>
Time from which the chat history is shared with the member. The timestamp is in ISO8601 format: yyyy-MM-ddTHH:mm:ssZ
.
- metadata
- IDictionary<String,String>
Property bag of participant metadata key - value pairs.
Returns
A new ChatParticipant instance for mocking.
Applies to
Azure SDK for .NET