title: Create Reaction category: Channel
createReaction
$client->channel->createReaction($parameters);
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.
Name | Type | Required | Default |
---|---|---|---|
channel.id | snowflake | true | null |
message.id | snowflake | true | null |
emoji | string | true | null |
Returns a 204 empty response on success.