hoshii / Exports / ChatMessageReactionInfo

ChatMessageReactionInfo

Represents a chat message reaction info

Hierarchy

Table of contents

Constructors

Properties

Accessors

Constructors

constructor

new ChatMessageReactionInfo(data, client)

Create a new ChatMessageReactionInfo

Parameters

NameTypeDescription
dataPayload_ChannelMessageReactionThe raw data of the reaction
clientClientThe client

Overrides

ReactionInfo.constructor

Defined in

lib/structures/ChatMessageReactionInfo.ts:48open in new window

Properties

channelID

channelID: string

The ID of the channel the reaction is in

Inherited from

ReactionInfo.channelID

Defined in

lib/structures/ReactionInfo.ts:16open in new window


client

client: Client

The client

Inherited from

ReactionInfo.client

Defined in

lib/structures/ReactionInfo.ts:21open in new window


createdBy

createdBy: string

The ID of the user who created the reaction

Inherited from

ReactionInfo.createdBy

Defined in

lib/structures/ReactionInfo.ts:26open in new window


data

data: Payload_ChannelMessageReaction | Payload_ForumTopicReaction

The raw data of the reaction

Inherited from

ReactionInfo.data

Defined in

lib/structures/ReactionInfo.ts:31open in new window


emote

emote: RawEmote

The raw emote of the reaction

Inherited from

ReactionInfo.emote

Defined in

lib/structures/ReactionInfo.ts:36open in new window


messageID

messageID: string

The ID of the chat message the reaction is in

Defined in

lib/structures/ChatMessageReactionInfo.ts:36open in new window


type

type: string

The type of the chat message reaction

Defined in

lib/structures/ChatMessageReactionInfo.ts:41open in new window

Accessors

creator

get creator(): ServerMember | { id: string }

The creator of the reaction

Returns

ServerMember | { id: string }

Inherited from

ReactionInfo.creator

Defined in

lib/structures/ReactionInfo.ts:66open in new window


message

get message(): ChatMessage<TextChannel> | { channelID: string ; id: string ; server: Server | { id?: string } }

The message the reaction is in

Returns

ChatMessage<TextChannel> | { channelID: string ; id: string ; server: Server | { id?: string } }

Defined in

lib/structures/ChatMessageReactionInfo.ts:57open in new window

Last Updated:
Contributors: Reinhardt