When I send a photo message via Telegram, no errors
Once I add a button, I get this error:
NodeApiError: source.on is not a function
at Object.apiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Telegram/GenericFunctions.js:82:15)
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Telegram/Telegram.node.js:1674:36)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:652:28)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:592:53
Hi @artildo - you should be able to send an image by selecting âMessageâ as the Resource and âSend Photoâ as the Operation in the Telegram node. Then in the Photo field, you can either pass a file_id for photos that already exist on the Telegram server or pass an HTTPS URL for Telegram to get a photo from the internet.
Hope that helps! If it doesnât, we may need some more information about your workflow and what youâre trying to do