WebPubSubChatModelFactory.WebPubSubChatUser 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 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.
public static Azure.Messaging.WebPubSub.Chat.WebPubSubChatUser WebPubSubChatUser(string kind = default, string id = default, string nickname = default, Azure.ETag etag = default);
static member WebPubSubChatUser : string * string * string * Azure.ETag -> Azure.Messaging.WebPubSub.Chat.WebPubSubChatUser
Public Shared Function WebPubSubChatUser (Optional kind As String = Nothing, Optional id As String = Nothing, Optional nickname As String = Nothing, Optional etag As ETag = Nothing) As WebPubSubChatUser
Parameters
- kind
- String
The kind of user.
- id
- String
User identifier.
- nickname
- String
User's display nickname.
- etag
- ETag
The entity tag for this resource.
Returns
A new WebPubSubChatUser instance for mocking.