There is no additional field options in telegram trigger node.
Only download image files is there. i want to filter on additional fields such as chat id. Right now I am having to add code nodes
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Its pretty simple. i want to output only chatid field from incoming “message” from the trigger node for next node to handle. as for your question on code node is there any other way to extract the relevant fields from the full message ? Here’s the code node js code for telegram trigger node input (full message) -
return {
chat_id: $input.all()[0].json.message.chat.id,
update_id: $input.all()[0].json.update_id
};