Channel

Twitch Chat, Room or Channel

Methods

send(content | { content: string })

Message that channel

  • Parameters

    • content - message content (string)

  • Returns: Promise<Message>

leave()

leaves channel

unban(username )

Unbans a viewer from this channel

  • Parameters

    • username - Viewer being unban for this channel (string)

  • Returns: Promise<void>

Properties

Name

Type

Description

name

string

channel name

id

string

channel id

moderators

Storage<string, Viewer>

Channel moderators

chatType

Type of chat

subs

boolean

chat subs only mode

r9k

boolean

if message characters of 9 must be unique

parseName

string

Hash sliced name

Last updated

Was this helpful?