Welshman Docs / @welshman/app / Reactions
Class: Reactions
Defined in: app/src/plugins/reactions.ts:13
NIP-25 reactions (kind 7). Reactions are unbounded and keyed by their target event rather than by pubkey or address, so there's no derived collection — read them from the repository directly.
Constructors
Constructor
new Reactions(
app):Reactions
Defined in: app/src/plugins/reactions.ts:14
Parameters
app
Returns
Reactions
Properties
app
readonlyapp:IApp
Defined in: app/src/plugins/reactions.ts:14
Methods
react()
react(
event,content,fn?):Promise<Command>
Defined in: app/src/plugins/reactions.ts:16
Parameters
event
content
string
fn?
(writer) => void
Returns
Promise<Command>