Skip to content

ChannelChatClear

Represents a channel chat clear event.

Extends

  • Base<T>

Type parameters

Type parameter
T extends EventSubConnection

Constructors

new ChannelChatClear()

1
new ChannelChatClear<T>(chatbot: ChatBot<T>, data: ChannelChatClearMessage<EventSubConnectionMap[T]>): ChannelChatClear<T>

Creates a new instance of the channel chat clear event.

Parameters

ParameterTypeDescription
chatbotChatBot<T>The current instance of the chatbot.
dataChannelChatClearMessage<EventSubConnectionMap[T]>The data of the chat clear event returned from the EventSub.

Returns

ChannelChatClear<T>

Overrides

Base<T>.constructor

Source

twitchfy/packages/chatbot/src/structures/ChannelChatClear.ts:28

Properties

PropertyModifierTypeDescriptionInherited from
broadcasterreadonlyBaseUser<T>The broadcaster of the channel whose chat was cleared.-
chatbotreadonlyChatBot<T>The current instance of the chatbot.Base.chatbot

Accessors

broadcasterId

1
get broadcasterId(): string

The Id of the broadcaster whose chat was cleared.

Returns

string

Source

twitchfy/packages/chatbot/src/structures/ChannelChatClear.ts:37


chatroomId

1
get chatroomId(): string

The Id of the chatroom where the chat was cleared.

Returns

string

Source

twitchfy/packages/chatbot/src/structures/ChannelChatClear.ts:44