WebPubSubChatRole 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.
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.
public class WebPubSubChatRole : System.ClientModel.Primitives.IJsonModel<Azure.Messaging.WebPubSub.Chat.WebPubSubChatRole>, System.ClientModel.Primitives.IPersistableModel<Azure.Messaging.WebPubSub.Chat.WebPubSubChatRole>
type WebPubSubChatRole = class
interface IJsonModel<WebPubSubChatRole>
interface IPersistableModel<WebPubSubChatRole>
Public Class WebPubSubChatRole
Implements IJsonModel(Of WebPubSubChatRole), IPersistableModel(Of WebPubSubChatRole)
- Inheritance
-
WebPubSubChatRole
- Implements
Constructors
| Name | Description |
|---|---|
| WebPubSubChatRole(IEnumerable<ChatPermission>) |
Initializes a new instance of WebPubSubChatRole. |
Properties
| Name | Description |
|---|---|
| Etag |
The entity tag for this resource. |
| Name |
Role name. Must start with 'user.' or 'room.' prefix. |
| Permissions |
Permissions associated with the role. Do not mix user permissions and room permissions in one role. |
Methods
Operators
| Name | Description |
|---|---|
| Explicit(Response to WebPubSubChatRole) | |
| Implicit(WebPubSubChatRole to RequestContent) | |