twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks

PubSubChatModActionMessage

A message that informs about a moderation action being performed in a channel.

Overview

Properties

action

Type: string

The action that was performed.

args

Type: Array<string>

The arguments given to the action.

channelId

Type: string

The ID of the channel where the action was performed.

type

Type: string

The type of the message.

userId

Type: string

The user ID of the moderator that performed the action.

userName

Type: string

The name of the moderator that performed the action.

Methods

getChannel()

async
Deprecated.

Use HelixUserApi#getUserById instead.

Retrieves more information about the channel where the action was performed.

Return type: HelixUser | null

getUser()

async
Deprecated.

Use HelixUserApi#getUserById instead.

Retrieves more information about the user that performed the action.

Return type: HelixUser | null