mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-24 17:59:07 +01:00
49 lines
816 B
Markdown
49 lines
816 B
Markdown
|
# Note Capture Events
|
||
|
|
||
|
## `reacted`
|
||
|
<MkSchemaViewer :schema="{
|
||
|
type: 'object',
|
||
|
properties: {
|
||
|
reaction: {
|
||
|
type: 'string',
|
||
|
description: 'type of reaction',
|
||
|
},
|
||
|
userId: {
|
||
|
type: 'string',
|
||
|
description: 'ID of the user who made the reaction',
|
||
|
},
|
||
|
}
|
||
|
}"/>
|
||
|
|
||
|
Occurs when a reaction is made to the target note.
|
||
|
|
||
|
## `pollVoted`
|
||
|
<MkSchemaViewer :schema="{
|
||
|
type: 'object',
|
||
|
properties: {
|
||
|
choice: {
|
||
|
type: 'number',
|
||
|
description: 'choice ID',
|
||
|
},
|
||
|
userId: {
|
||
|
type: 'string',
|
||
|
description: 'ID of the user who cast the vote',
|
||
|
},
|
||
|
}
|
||
|
}"/>
|
||
|
|
||
|
Occurs when the survey attached to the target note is voted on.
|
||
|
|
||
|
## `deleted`
|
||
|
<MkSchemaViewer :schema="{
|
||
|
type: 'object',
|
||
|
properties: {
|
||
|
deletedAt: {
|
||
|
type: 'string',
|
||
|
description: 'deletion time',
|
||
|
},
|
||
|
}
|
||
|
}"/>
|
||
|
|
||
|
Occurs when the target note is deleted.
|