mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
sendChatAction supports topics in supergroups in Telegram Node
This commit is contained in:
parent
7b45dc313f
commit
be1b0d135e
|
@ -1908,6 +1908,9 @@ export class Telegram implements INodeType {
|
|||
|
||||
body.chat_id = this.getNodeParameter('chatId', i) as string;
|
||||
body.action = this.getNodeParameter('action', i) as string;
|
||||
|
||||
// Add additional fields (topic id)
|
||||
addAdditionalFields.call(this, body, i);
|
||||
} else if (operation === 'sendDocument') {
|
||||
// ----------------------------------
|
||||
// message:sendDocument
|
||||
|
|
Loading…
Reference in a new issue