RestCord logo RestCord

createReaction

$client->channel->createReaction($parameters);

Description

Create a reaction for the message. This endpoint requires the 'READ_MESSAGE_HISTORY' permission to be present on the current user. Additionally, if nobody else has reacted to the message using this emoji, this endpoint requires the 'ADD_REACTIONS' permission to be present on the current user.

Parameters

Name Type Required Default
channel.id snowflake true null
message.id snowflake true null
emoji string true null

Response

Returns a 204 empty response on success.