TwurpleAuthenticationGetting dataExamplesFAQMigration

PubSubLowTrustUserChatMessage

A message that informs about a new chat message from a low-trust user.

Overview

Properties

banEvasionEvaluation

Type:
PubSubLowTrustUserBanEvasionEvaluationType

A ban evasion likelihood value (if any) that as been applied to the user automatically by Twitch.

Aliased type: "UNKNOWN_EVADER" | "UNLIKELY_EVADER" | "LIKELY_EVADER" | "POSSIBLE_EVADER" | ""

The ban evasion likelihood value that as been applied to the user automatically by Twitch.

Can be an empty string if Twitch did not apply any evasion value.

channelId

Type: string

The ID of the channel where the suspicious user was present.

content

Type: string

Plain text of the message sent.

evaluationDate

Type: Date | null

The date for the first time the suspicious user was automatically evaluated by Twitch.

fragments

Type: PubSubLowTrustUserChatMessageContentFragmentData[]

Fragments contained in the message, including emotes.

lowTrustId

Type: string

The unique ID of this low-trust event.

messageId

Type: string

The ID of the chat message.

moderatorDisplayName

Type: string

The display name of the moderator.

moderatorId

Type: string

The user ID of the moderator.

moderatorName

Type: string

The name of the moderator.

sendDate

Type: Date

Date when the chat message was sent.

sharedBanChannelIds

Type: string[]

A list of channel IDs where the suspicious user is also banned.

treatment

Type:
PubSubLowTrustUserTreatmentType

The treatment set for the suspicious user.

Aliased type: "NO_TREATMENT" | "ACTIVE_MONITORING" | "RESTRICTED"

The treatment set for the suspicious user.

types

Type:
PubSubLowTrustUserType

User types (if any) that apply to the suspicious user.

Aliased type: "UNKNOWN_TYPE" | "MANUALLY_ADDED" | "DETECTED_BAN_EVADER" | "BANNED_IN_SHARED_CHANNEL"

[]

User types (if any) that apply to the suspicious user.

updateDate

Type: Date

The date of when the treatment was updated for the suspicious user.

userDisplayName

Type: string

The display name of the suspicious user.

userId

Type: string

The user ID of the suspicious user.

userName

Type: string

The name of the suspicious user.