createCommentReaction
Create a reaction record for one user's reaction to one comment. The id is derived from the comment and user (see createCommentReactionId), so re-reacting overwrites rather than adding.
function createCommentReaction(props: {
commentId: TLCommentId;
emoji: string;
meta?: JsonObject;
now?: number;
pageId: TLPageId;
threadId: TLCommentThreadId;
userId: string;
}): TLCommentReaction;Parameters
| Name | Description |
|---|---|
| |
Returns
Prev
createCommentIdNext
createCommentReactionId