WebPubSubChatModelFactory Class
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.
A factory class for creating instances of the models for mocking.
public static class WebPubSubChatModelFactory
type WebPubSubChatModelFactory = class
Public Class WebPubSubChatModelFactory
- Inheritance
-
WebPubSubChatModelFactory
Methods
| Name | Description |
|---|---|
| WebPubSubChatConversation(String, String, ETag) |
Represents a chat conversation. |
| WebPubSubChatMessage(String, String, WebPubSubChatMessageContent, DateTimeOffset, ETag) |
Represents a chat message. |
| WebPubSubChatMessageContent(String, BinaryData) |
Message content body. |
| WebPubSubChatRole(String, IEnumerable<ChatPermission>, ETag) |
Represents a chat role. A role name must start with 'user.' or 'room.' prefix. A role must contain either user permissions or room permissions, but not both. |
| WebPubSubChatRoom(String, String, String, ETag) |
Represents a chat room. |
| WebPubSubChatRoomMember(String, String, ETag) |
Represents a room member. |
| WebPubSubChatUser(String, String, String, ETag) |
Represents a user profile in the chat system. This is a discriminated base type;
concrete payloads are selected by the |
| WebPubSubHumanChatUser(String, String, ETag, String) |
A human end-user, identified by a user role. |