Lingua

WebPubSubChatModelFactory Class

Definition

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 kind field (e.g. HumanChatUser). Please note this is the abstract base class. The derived classes available for instantiation are: WebPubSubHumanChatUser.

WebPubSubHumanChatUser(String, String, ETag, String)

A human end-user, identified by a user role.

Applies to