Language

ChatPermission Struct

Definition

A permission that can be assigned to a chat role.

public readonly struct ChatPermission : IEquatable<Azure.Messaging.WebPubSub.Chat.ChatPermission>
type ChatPermission = struct
Public Structure ChatPermission
Implements IEquatable(Of ChatPermission)
Inheritance
ChatPermission
Implements

Constructors

Name Description
ChatPermission(String)

Initializes a new instance of ChatPermission.

Properties

Name Description
RoomHistory

Allows a room member to read message history.

RoomInvite

Allows a room member to add users to a room.

RoomPublishMessage

Allows a room member to publish messages.

RoomRemoveUser

Allows a room operator to remove users from a room.

UserCreateRoom

Allows a user to create chat rooms.

UserFetchAllRooms

Allows a user to list the rooms they belong to.

Methods

Name Description
Equals(ChatPermission)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(ChatPermission, ChatPermission)

Determines if two ChatPermission values are the same.

Implicit(String to ChatPermission)

Converts a string to a ChatPermission.

Implicit(String to Nullable<ChatPermission>)
Inequality(ChatPermission, ChatPermission)

Determines if two ChatPermission values are not the same.

Applies to