Skip to content

DefaultReaction

Implementation of the Discord DefaultReaction class in Luau

https://discord.com/developers/docs/resources/channel#default-reaction-object

DefaultReaction.emojiId  :: string?

The ID of the emoji to use as the default reaction

DefaultReaction.emojiName  :: string?

The name of the emoji to use as the default reaction

DefaultReaction : sync ( DefaultReactionData )  -> ()

Responsible for syncing data to this default reaction object. This is typically called by the API when this object is created or updated.

Parameters

DefaultReactionData: DefaultReactionObject
DefaultReaction . new ( DefaultReactionData )  -> DefaultReaction

Responsible for constructing this class.

Parameters

DefaultReactionData: DefaultReactionObject

Returns

DefaultReaction