Closed proton555 closed 1 year ago
Just tried deleting using the previous message+1 integer and it gave error "ETELEGRAM: 400 Bad Request: message can't be deleted"
Oops i missed. Silly me🙈 https://core.telegram.org/bots/api#deletemessage "- Service messages about a supergroup, channel, or forum topic creation can't be deleted"
Sad😔
👉Is there any other workaround i can use other than userbot?
👉Also Karl, any chance of incorporating userbot token? Some of us requested you some months back in Telegram group and you said you may in future. We can have lot of additional power to bots. Perhaps have a look when you find some time :)
Thanks
I will create nodes for userbots ... if I can find sone time
EDIT : Please close
Telegram Bot API deleteMessage function supports deleting service messages
I am using sender node. I got the previous SentMessageId & used PinMessage example to pin a message fine (top) but to delete that pin service message, i could not find any SentMessageId . It says "undefined" (Bottom) So how do i delete the "Bot pinned xyz" service message?
I found that in case of a non-busy group, service message ID = initial messageID+1 (checked link manually in group) I can use that way but that would create problems in busy group/laggy bot
Thanks Karl :)