2
0

🐛 (whatsapp) Enable custom embed blocks

This commit is contained in:
Baptiste Arnaud
2024-04-18 13:46:49 +02:00
parent 5aad10e937
commit af014394da
5 changed files with 27 additions and 6 deletions

View File

@@ -70,6 +70,12 @@ export type ActionDefinition<
}
web?: {
displayEmbedBubble?: {
/**
* Used to determine the URL to be displayed as a text bubble in runtimes where the code can't be executed. (i.e. WhatsApp)
*/
parseUrl: (params: {
options: z.infer<BaseOptions> & z.infer<Options>
}) => string | undefined
waitForEvent?: {
getSaveVariableId?: (
options: z.infer<BaseOptions> & z.infer<Options>