createReaction

Function

create reaction to post

Parameters

Parameter Type Default Notes
options Required ICreateReactionOptions

Returns

{Promise}

Promise<IReaction>
Property Type Notes
id string
value PostReaction
createdAt Inherited Date
creator Inherited string
editor Inherited string
updatedAt Inherited Date
post Optional IPost
postId Optional string

Function defined in discussions/src/reactions/reactions.ts:16