Freigeben über


ChatModelFactory.ChatThreadProperties Method

Definition

Initializes a new instance of the ChatThreadProperties class.

public static Azure.Communication.Chat.ChatThreadProperties ChatThreadProperties(string id, string topic, DateTimeOffset createdOn, Azure.Communication.CommunicationIdentifier createdBy, DateTimeOffset deletedOn);
static member ChatThreadProperties : string * string * DateTimeOffset * Azure.Communication.CommunicationIdentifier * DateTimeOffset -> Azure.Communication.Chat.ChatThreadProperties
Public Shared Function ChatThreadProperties (id As String, topic As String, createdOn As DateTimeOffset, createdBy As CommunicationIdentifier, deletedOn As DateTimeOffset) As ChatThreadProperties

Parameters

id
String

Chat message ID.

topic
String

Topic of the message content.

createdOn
DateTimeOffset

Created on date time

createdBy
CommunicationIdentifier

Created by

deletedOn
DateTimeOffset

Deleted on date time

Returns

A new ChatThreadProperties instance for mocking.

Applies to