26995
Welcome to Bot Talk! 😌 Be nice 🗣 Please use English so everyone can participate 🤖 Keep the topic on bot development ⚠️ Keep media posts like GIFs and stickers to a minimum ❌ Don't add bots to the chat More info - https://t.me/BotTalk/110874
When we'll be able to launch mini apps from within a group not just private chat?
Читать полностью…
Someone got access somehow. I don't know how else they would have both your token and a list of users your bot could broadcast to.
Читать полностью…
Is there a way for my bot to know when a user deletes a bot it manages so I can update the record on my end? The software the bots run know when to shut down because the token was revoked, but the manger bot won't know to remove the bot's reference.
Читать полностью…
Do you keep a record of users that use your bot?
Читать полностью…
Bruh...i hosted the src on my private vps...i have never leaked nor uploaded my src on github etc
Читать полностью…
You cannot map that to some command or an inline button on a callback query. That was where I was initially confused because I've never used a reply keyboard markup before. It's totally different. You don't pass parameters to it, the user presses the button then does something themselves and your bot will receive what they did in an update if it was successful.
Читать полностью…
You leaked it somewhere. If they knew both your token and your users, then wherever you stored both of those things is where someone got in.
Читать полностью…
No, there's also other functions you can do with them.
Читать полностью…
Reply keyboard is just for sending a specific text
Читать полностью…
The bot is not creating the bot, the user is creating it, so the bot cannot execute the action.
Читать полностью…
You can create a command with the exact text using filters
Читать полностью…
You can't pass parameters to it. They don't work like inline buttons. It pulls up a form that the user fills out.
Читать полностью…
It's not an inline method. It's only available via reply keyboard markup.
Читать полностью…
This is some very good work!
Well done squad 🔥❤️
It's not going to conflict if they're not receiving updates and just using it to send things.
Читать полностью…
I don't automatically delete entries when this happens because the token could just be being refreshed by the bot owner and the bot could still exist. But if a bot is managed I feel there should be an extra layer inbetween that can tell the managing bot that so and so was deleted and it's safe to drop the record for it since it won't be coming back with another token.
Читать полностью…
So if the token changes, I receive this update, but then have to call getManagedBotToken anyway because you can't actually see the changed token. For security reasons that's fine, but this implies that I don't receive this when the managed bot is deleted.
Читать полностью…
So this can't be done. You just have to provide the reply keyboard button and the user will fill in the details. You don't build a link or any of that if you're doing it with a keyboard button.
Читать полностью…
Or I guess a service message for some things that can't return a physical thing like a poll. e.g. selecting users or chats.
Читать полностью…
The user creates the bot with the form that gets sent when they press the button, and then your bot receives the info about that created bot in an update. From there you can use the bot's ID you received to fetch its token.
Читать полностью…
Idk how someone managed to find my bot token and started broadcasting to my users with it..while my bot was still running....like how do they get the long bot token ?...telegram issue
Читать полностью…
In my library I use I do await bot.send_message, await bot.create_forum_topic, etc. I cannot await bot.create_managed_bot or whatever because that doesn't exist. It doesn't exist because the user is creating the bot and your bot is managing it. If you could just call a method to create a bot on behalf of a user, it would be heavily abused.
Читать полностью…
Not with this you can't. There's no backend equivalent for this where you can call for the bot to create something like CreateForumTopic. The button pulls up the bot creation interface where Telegram can check the username to make sure it's valid first. Or at least that's what it seems like.
Читать полностью…
reply keyboard is basically used to send specific text
Читать полностью…
Why don’t you match the filter text for the command using the reply button? That’s what I do.
Читать полностью…
https://core.telegram.org/bots/api#keyboardbuttonrequestmanagedbot
Читать полностью…