mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 11:49:59 +00:00
feat(Telegram Node): New operation sendAndWait (#12771)
This commit is contained in:
@@ -13,6 +13,7 @@ import { labelFields, labelOperations } from './LabelDescription';
|
||||
import { getGmailAliases, getLabels, getThreadMessages } from './loadOptions';
|
||||
import { messageFields, messageOperations } from './MessageDescription';
|
||||
import { threadFields, threadOperations } from './ThreadDescription';
|
||||
import { sendAndWaitWebhooks } from '../../../../utils/sendAndWait/descriptions';
|
||||
import type { IEmail } from '../../../../utils/sendAndWait/interfaces';
|
||||
import {
|
||||
configureWaitTillDate,
|
||||
@@ -68,26 +69,7 @@ const versionDescription: INodeTypeDescription = {
|
||||
},
|
||||
},
|
||||
],
|
||||
webhooks: [
|
||||
{
|
||||
name: 'default',
|
||||
httpMethod: 'GET',
|
||||
responseMode: 'onReceived',
|
||||
responseData: '',
|
||||
path: '={{ $nodeId }}',
|
||||
restartWebhook: true,
|
||||
isFullPath: true,
|
||||
},
|
||||
{
|
||||
name: 'default',
|
||||
httpMethod: 'POST',
|
||||
responseMode: 'onReceived',
|
||||
responseData: '',
|
||||
path: '={{ $nodeId }}',
|
||||
restartWebhook: true,
|
||||
isFullPath: true,
|
||||
},
|
||||
],
|
||||
webhooks: sendAndWaitWebhooks,
|
||||
properties: [
|
||||
{
|
||||
displayName: 'Authentication',
|
||||
|
||||
Reference in New Issue
Block a user