ChannelChatClear
Represents a channel chat clear event.
Extends
Base
<T
>
Type parameters
Type parameter |
---|
T extends EventSubConnection |
Constructors
new ChannelChatClear()
Creates a new instance of the channel chat clear event.
Parameters
Parameter | Type | Description |
---|---|---|
chatbot | ChatBot <T > | The current instance of the chatbot. |
data | ChannelChatClearMessage <EventSubConnectionMap [T ]> | The data of the chat clear event returned from the EventSub. |
Returns
Overrides
Base<T>.constructor
Source
twitchfy/packages/chatbot/src/structures/ChannelChatClear.ts:28
Properties
Property | Modifier | Type | Description | Inherited from |
---|---|---|---|---|
broadcaster | readonly | BaseUser <T > | The broadcaster of the channel whose chat was cleared. | - |
chatbot | readonly | ChatBot <T > | The current instance of the chatbot. | Base.chatbot |
Accessors
broadcasterId
The Id of the broadcaster whose chat was cleared.
Returns
string
Source
twitchfy/packages/chatbot/src/structures/ChannelChatClear.ts:37
chatroomId
The Id of the chatroom where the chat was cleared.
Returns
string
Source
twitchfy/packages/chatbot/src/structures/ChannelChatClear.ts:44