WebPubSubChatModelFactory.ChatTopic 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.
Represents a chat topic in a room.
public static Azure.Messaging.WebPubSub.Chat.ChatTopic ChatTopic(string id = default, string title = default, DateTimeOffset createdOn = default, string createdBy = default, Azure.Messaging.WebPubSub.Chat.ChatTopicState state = default, string conversationId = default, Azure.ETag etag = default);
static member ChatTopic : string * string * DateTimeOffset * string * Azure.Messaging.WebPubSub.Chat.ChatTopicState * string * Azure.ETag -> Azure.Messaging.WebPubSub.Chat.ChatTopic
Public Shared Function ChatTopic (Optional id As String = Nothing, Optional title As String = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional createdBy As String = Nothing, Optional state As ChatTopicState = Nothing, Optional conversationId As String = Nothing, Optional etag As ETag = Nothing) As ChatTopic
Parameters
- id
- String
Topic identifier unique within the room.
- title
- String
Topic title.
- createdOn
- DateTimeOffset
Timestamp when the topic was created.
- createdBy
- String
User who created the topic.
- state
- ChatTopicState
Current lifecycle state of the topic.
- conversationId
- String
Conversation associated with this topic.
- etag
- ETag
The entity tag for this resource.
Returns
A new ChatTopic instance for mocking.