UNPKG

@twurple/eventsub-base

Version:

Base for the other Twurple EventSub packages

59 lines 2.08 kB
import type { HelixUser } from '@twurple/api'; import { DataObject } from '@twurple/common'; import { type EventSubAutoModMessagePart } from './common/EventSubAutoModMessage.external'; import { type EventSubAutoModResolutionStatus } from './common/EventSubAutoModResolutionStatus'; import { type EventSubChannelChatUserMessageUpdateEventData } from './EventSubChannelChatUserMessageUpdateEvent.external'; /** * An EventSub event representing a user's notification about the resolution of their held chat message by AutoMod. */ export declare class EventSubChannelChatUserMessageUpdateEvent extends DataObject<EventSubChannelChatUserMessageUpdateEventData> { /** * The ID of the broadcaster in whose chat the held message was resolved. */ get broadcasterId(): string; /** * The name of the broadcaster in whose chat the held message was resolved. */ get broadcasterName(): string; /** * The display name of the broadcaster in whose chat the held message was resolved. */ get broadcasterDisplayName(): string; /** * Gets more information about the broadcaster. */ getBroadcaster(): Promise<HelixUser>; /** * The ID of the user whose message is being held by AutoMod. */ get userId(): string; /** * The name of the user whose message is being held by AutoMod. */ get userName(): string; /** * The display name of the user whose message is being held by AutoMod. */ get userDisplayName(): string; /** * Gets more information about the user. */ getUser(): Promise<HelixUser>; /** * The ID of the message held by AutoMod. */ get messageId(): string; /** * The plain text of the message. */ get messageText(): string; /** * The pre-parsed message parts. */ get messageParts(): EventSubAutoModMessagePart[]; /** * The status of the resolved message. */ get status(): EventSubAutoModResolutionStatus; } //# sourceMappingURL=EventSubChannelChatUserMessageUpdateEvent.d.ts.map