You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it is impossible to get topic name without getting forum_topic_created or forum_topic_edited event. I suggest adding something like getForumTopic or getForumTopicsByID or getForumTopics to Bot API.
The text was updated successfully, but these errors were encountered:
I was creating an issue regarding this without having searched beforehand.
Having found this issue before posting mine I'm just pasting the original text I had written already:
There is currently no way to retrieve topic IDs for a group, they must be retrieved and stored externally without a proper way to get the topic IDs from the bot code itself.
Current workarounds involve:
a) Creating a topic/listening for Topic edit events with the bot and storing its ID externally
b) Retrieving IDs externally (via message link for example) and providing those to the bot.
I'm not sure if it's just a limitation on the API or a not implemented case (I assume the latter as I see the enhancement tag was added to this issue). I think ideally we should be able to explicitly retrieve the topic IDs for a group instead of creating/modifying a topic or having to get them from a client in order to use them in bots.
Currently it is impossible to get topic name without getting forum_topic_created or forum_topic_edited event. I suggest adding something like getForumTopic or getForumTopicsByID or getForumTopics to Bot API.
The text was updated successfully, but these errors were encountered: