hoshii / Exports / ChatMessageReactionInfo
ChatMessageReactionInfo
Represents a chat message reaction info
Hierarchy
↳
ChatMessageReactionInfo
Table of contents
Constructors
Properties
Accessors
Constructors
constructor
• new ChatMessageReactionInfo(data
, client
)
Create a new ChatMessageReactionInfo
Parameters
Name | Type | Description |
---|---|---|
data | Payload_ChannelMessageReaction | The raw data of the reaction |
client | Client | The client |
Overrides
Defined in
lib/structures/ChatMessageReactionInfo.ts:48
Properties
channelID
• channelID: string
The ID of the channel the reaction is in
Inherited from
Defined in
lib/structures/ReactionInfo.ts:16
client
• client: Client
The client
Inherited from
Defined in
lib/structures/ReactionInfo.ts:21
createdBy
• createdBy: string
The ID of the user who created the reaction
Inherited from
Defined in
lib/structures/ReactionInfo.ts:26
data
• data: Payload_ChannelMessageReaction
| Payload_ForumTopicReaction
The raw data of the reaction
Inherited from
Defined in
lib/structures/ReactionInfo.ts:31
emote
• emote: RawEmote
The raw emote of the reaction
Inherited from
Defined in
lib/structures/ReactionInfo.ts:36
messageID
• messageID: string
The ID of the chat message the reaction is in
Defined in
lib/structures/ChatMessageReactionInfo.ts:36
type
• type: string
The type of the chat message reaction
Defined in
lib/structures/ChatMessageReactionInfo.ts:41
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:66
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
} }