How can I open a specific telegram account with preloaded text message

蹲街弑〆低调 提交于 2021-01-29 10:44:00

问题


Is it possible to open a specific account with a preloaded text like this:

tg://resolve?domain={USER_NAME}&text=Hi, default message
https://t.me/{USER_NAME}?text=Hi, default message

回答1:


There isn't (yet) a option to open a chat for a specific user, however, you can open the Telegram app, with an preloaded text, the user get's the option to pick a recipient from there chat list;

Use the following url;

tg://msg_url?url=Hi%21%20I%27m%20an%20example%21

Where;

  • url is the preloaded message (or link) (url-encoded)

After pressing the link, Telegram will ask for a recipent (picture).

If the user selects a chat from the sidebar, the preloaded text will be filled in the chat box (picture)



来源:https://stackoverflow.com/questions/63811464/how-can-i-open-a-specific-telegram-account-with-preloaded-text-message

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!