chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { z } from '@botpress/sdk'
|
||||
import { ActionDef } from './types'
|
||||
|
||||
export const trashMessage = {
|
||||
title: 'Trash Message',
|
||||
description:
|
||||
'Moves the specified message to the trash. The message can be restored from the trash using untrashMessage.',
|
||||
input: {
|
||||
schema: z.object({
|
||||
id: z.string().title('Message ID').describe('The ID of the message to trash.'),
|
||||
}),
|
||||
},
|
||||
output: {
|
||||
schema: z.object({}).title('Empty').describe('Empty output'),
|
||||
},
|
||||
} as const satisfies ActionDef
|
||||
Reference in New Issue
Block a user