Can I trust the callback query from Telegram? Should I validate the query?
In a traditional Web application, the backend service should never trust the payload sent from the user frontend. Though the frontend pages use carefully designed UI to force users to send data in a valid/expected format, they can’t prevent advanced users from directly calling API endpoints and sending invalid/malicious data. So backend service should always validate the data.
How to know if the messages in telegram original or reply
I need to determine whether messages in the bot channel are original or replies to previous messages. To achieve this, I plan to save the results in a JSON file. First, I need to detect if a message is an original message or a reply. I understand that replies to older messages will have the reply_to_message attribute. Could you advise on how to detect this?
Telegram bot users showing
I created Telegram bot and app using BotFather, and I linked my Vercel link to the app, there is 30+ users used entered my app, but when I search my bot in the Telegram searchbox, I see that my bot have always 4 users only. Here you can see the problem:
enter image description here
How to get telegram bot users Count?
So, telegram has launched a new app store on Telegram and I can see no. Of users correposponding to each telegram bot now. Is there a way using Telegram API to fetch this number for a particular bot ? Also, I can’t find the documentation or details on how this number is calculated
Is there a way to remove the Telegram header in horizontal orientation?
In horizontal orientation, the telegram header, where you can close the application, refresh the page, and so on, is very disturbing. It reduces the size of the game application by about 20%, which greatly hinders the android version. Is there any way to remove it? Is there any kind of fullscreen mode?
Is there a limit to telegram getUpdates()?
I have been using https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/getUpdates
in my code for a few days and when randomly testing today i found many previous entries were missing which were there previously. So, is there any limit to how many results it can show after removing them and showing new ones and if yes how do i get all entries?
User Navigation in Telegram Mini App Back and Forth for the same Telegram bot
I’m developing a Telegram mini app and facing a challenge. I need the app to let users return to the bot, send a video, and then reopen the mini app without reloading it. I tried using openTelegramLink
, but it doesn’t work with the bot that opened the mini app. Does anyone know how to achieve this or have any alternative solutions?
User Navigation in Telegram Mini App Back and Forth
I’m developing a Telegram mini app and facing a challenge. I need the app to let users return to the bot, send a video, and then reopen the mini app without reloading it. I tried using openTelegramLink
, but it doesn’t work with the bot that opened the mini app. Does anyone know how to achieve this or have any alternative solutions?
Automate actions on personal account on Telegram
Bots are limited in permissions to personal accounts in Telegram (e.g. bot can be added to a group by admin only but any personal account can be added to the group freely). So bot API is not suitable.
Is there a way to automate personal account in Telegram?