sendChatAction supports topics in supergroups in Telegram Node

This commit is contained in:
Sergey Petrov 2024-05-14 03:28:57 +07:00 committed by GitHub
parent 7b45dc313f
commit be1b0d135e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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