skip to Main Content

Can we open telegram’s setting menu with any code or redirecting?
I made a bot on telegram which needs username for a specific actions. If a user don’t have any username then the bot replies something like ‘Username not found please go to settings and set a username to continue’. Instead of this I want to redirect the user to settings menu where username can be added. Any suggestions how I can do that? Like I have seen many bots who redirect users to groups list so that they can add them to any group. Can we do same for settings menu?

2

Answers


  1. At the moment, Telegram does not allow users to open the profile settings with an url, but you can click on this url on a Telegran app to open the settings menu: tg://settings (does not seems to work on my Android with Telegram Beta but on TGDesktop it works just fine). The "open groups list" is a deep linking url: https://t.me/usernameBot?startgroup=test. If specified, the startgroup parameter asks the user to select a group from the list.


    For more info:

    Deep Linking

    Deep Link Channel

    Login or Signup to reply.
  2. To open profile settings with bot, you need to redirect users to the "tg://settings".

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search