How to get ForumsTopics Ids to delete using a Bot #4223
-
Hi, Community! I want to get the ids of the ForumTopics that are in the "file_names" list and create a function that deletes them from my chat, is there any way to do that? async def deleteForumTopic(update: Update, context: CallbackContext):
file_names = fileNames()
bot = context.bot
chatId = "-1002064646692" |
Beta Was this translation helpful? Give feedback.
Answered by
Bibo-Joshi
Apr 26, 2024
Replies: 1 comment 4 replies
-
Sorry misread check first comment |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll have to keep track of them. There is no API method to get all currently existing topic IDs