TwurpleAuthenticationGetting dataExamplesFAQMigration

PubSubUnbanRequestMessage

A message that informs about an approved or denied unban request in a channel.

Overview

Constructor

new PubSubUnbanRequestMessage(data, _channelId)

ParameterTypeRequiredDefaultDescription
dataPubSubUnbanRequestMessageDatanonenone
_channelIdstringnonenone

Properties

channelId

Type: string

The ID of the channel where the action was performed.

moderatorMessage

Type: string

The note that the moderator left during the resolution of the request.

targetUserId

Type: string

The ID of the user that requested unban.

targetUserName

Type: string

The name of the user that requested unban.

type

Type: PubSubUnbanRequestType

The type of the unban request action.

userId

Type: string

The ID of the moderator that performed the action.

userName

Type: string

The name of the moderator that performed the action.