WebPubSubChatModelFactory.WebPubSubHumanChatUser 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.
A human end-user, identified by a user role.
public static Azure.Messaging.WebPubSub.Chat.WebPubSubHumanChatUser WebPubSubHumanChatUser(string id = default, string nickname = default, Azure.ETag etag = default, string roleName = default);
static member WebPubSubHumanChatUser : string * string * Azure.ETag * string -> Azure.Messaging.WebPubSub.Chat.WebPubSubHumanChatUser
Public Shared Function WebPubSubHumanChatUser (Optional id As String = Nothing, Optional nickname As String = Nothing, Optional etag As ETag = Nothing, Optional roleName As String = Nothing) As WebPubSubHumanChatUser
Parameters
- id
- String
User identifier.
- nickname
- String
User's display nickname.
- etag
- ETag
The entity tag for this resource.
- roleName
- String
Global user role assigned to the user. Must start with user..
Returns
A new WebPubSubHumanChatUser instance for mocking.