Is it possible for a Telegram bot to automatically generate group chats when triggered by specific commands?

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 someone clicks a button in the bot interface, and then the bot automatically sets up a fresh group chat that includes that person plus one or more other users.

From what I remember, the older versions of Telegram’s API didn’t allow bots to perform this kind of group creation functionality. Has this limitation been updated or changed in recent API versions? I’m curious if there are any new methods or workarounds that make this possible now.

Been working with Telegram bots for three years - the core limitation hasn’t changed. Bots still can’t create group chats through any official API method. But here’s a workaround that builds on what others said. Set up a registration system where your bot tracks users who want to join auto-generated groups. When someone hits the command, don’t try creating the group directly. Instead, send personalized instructions to each participant with a shared invite link that one designated user creates. Once the group exists, your bot joins and handles admin duties. Takes more coordination but gets you the same result for most cases.

unfortnately, the API still doesn’t allow bots to create groups on their own. I’ve dealt with this for a bit, and it’s the same. your best bet is to let the bot send an invite link or guide users on how to set it up first, then add the bot later.

Hit this same problem last year building a project management bot. Bots still can’t create groups directly through the API - that hasn’t changed. But I found a solid workaround that does the job. Your bot can generate deep links that pre-fill the group creation dialog. When someone hits your command, send back a formatted link that opens Telegram’s group creation screen with everything ready - suggested members, group name, whatever. Users still have to hit confirm, but it cuts out most of the work. You can also use inline keyboards to walk them through the manual steps while your bot handles the backend stuff once the groups exist. Not fully automated, but the UX is pretty smooth.