I’m wondering if Telegram bots have the ability to create new group conversations when users execute particular commands or actions.
For instance, imagine a scenario where a user clicks on a specific button in the bot interface, and this action automatically generates a fresh group chat that includes both the original user and another person. This would be really useful for my project.
From what I remember, older versions of the Telegram Bot API didn’t support this functionality. However, I’m curious if there have been any recent updates or modifications to the API that might allow bots to create group chats programmatically. Has anyone encountered this feature or found a workaround?
Indeed, the API still has that limitation. I faced a similar challenge while developing a matchmaking bot last month. My solution involved pre-creating several empty supergroups, which the bot could then manage by adding or removing users as needed. When a user triggers a command, the bot selects an available group, adds the participants, updates the title, and sends a welcome message. While it works for moderate use, the downside is that you must manually set up the groups in advance, which can become chaotic with larger volumes.
Nope, Telegram’s Bot API still can’t create groups automatically. I’ve been working with their bots for two years and this hasn’t changed. The best workaround I’ve found is deep links that pre-fill the group creation form, but users still have to finish it manually. You could also start with a supergroup and let your bot handle invite links, but the group needs to exist first. Some devs keep a bunch of pre-made groups ready to assign when needed, though it’s pretty clunky for anything dynamic.
totally agree! bots can manage but not create new groups directly. best way is for users to set up the group n then invite the bot. it’s been like this for a while now. hope they add that feature someday!