TwurpleAuthenticationGetting dataExamplesFAQMigration

WhisperEvent

An event representing a whisper message.

Overview

Properties

text

Type: string

The text of the message.

userDisplayName

Type: string

The display name of the user who sent the message.

userId

Type: string

The ID of the user who sent the message.

userName

Type: string

The name of the user who sent the message.

Methods

getUser()

async

Gets more information about the user who sent the message.

Return type: HelixUser

reply(text)

async

Replies to the message.

ParameterTypeRequiredDefaultDescription
textstringnone

The text to send as a reply.

Return type: void