🐛 (whatsapp) Enable custom embed blocks
This commit is contained in:
@ -42,6 +42,7 @@ export const bookEvent = createAction({
|
||||
run: {
|
||||
web: {
|
||||
displayEmbedBubble: {
|
||||
parseUrl: ({ options }) => options.link,
|
||||
maxBubbleWidth: 780,
|
||||
waitForEvent: {
|
||||
getSaveVariableId: ({ saveBookedDateInVariableId }) =>
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user