I have a telegram bot that messages on a group. I want the telegram bot to change its “name” from time to time - just like a user can. Is this possible? This means that when I see a message from the bot it can say “ABCbot”, but later it can say “DEFbot”. Let me know!
Change telegram bot name on the fly
Sorry but you can't change your telegram via bot but you can change it via @BotFather as you can see in this screenshot:
Go to @BotFather and send this command
/mybots
Then it will show list of your bots. Click on the bot you want change it's name and then click on Edit Name
Yes, I was hoping there would be an api-based way to do it. Strange that a bot can’t change its own name. –
Chantalchantalle
@CarlosF You gotta need to write a bot for that :) –
Homeric
@j4hangir. If the API allowed it, you could, but it doesn't, so you can't..... –
Suasion
@Suasion https://mcmap.net/q/1653507/-change-telegram-bot-name-on-the-fly –
Homeric
I don't understand how
you can't
has been accepted as an answer. It obviously can be done on-the-fly as I wrote here –
Homeric It's simple. because he asked about Telegram Bot API not Telegram Client API. I wonder how you couldn't understand difference between these two concept.
Pure Python 3 MTProto API Telegram client library, for bots too!
–
Incorruption Use Telethon to do that:
await tc.send_message('@botfather', '/setname')
await tc.send_message('@botfather', bot)
await tc.send_message('@botfather', name)
tc
is the instance of TelegramClient
class.
© 2022 - 2025 — McMap. All rights reserved.