drone-telegram icon indicating copy to clipboard operation
drone-telegram copied to clipboard

How about ReplyToMessageID for Topics?

Open WiRight opened this issue 2 years ago • 2 comments

I want to send message in supergroup with topics. For this i need a ReplyToMessageID field. Can you add this? Thx

WiRight avatar Jan 03 '24 00:01 WiRight

Maybe you mean topic id? It can't process it because... https://github.com/appleboy/drone-telegram/blob/1f66667a65d7479d9897a37d6843dc244654ed24/plugin.go#L233

IHVH avatar Sep 13 '24 08:09 IHVH

I understand it's been a while now but i'd like to come back to it. Can we discuss it a bit more here? I think we could do it with a new flag in the cli. It would accept id of topics and they would be passed into tgbotapi. tgbotapi has that functionality. It is just a matter of how to associate chat ids (since there could be multiple) with topic id. It could that we also take a slice of topic id's and then match id's of chat with topic ids.

Furrity avatar Feb 25 '25 19:02 Furrity