Telegram bot: How to mention user by its id (not its username)
According to official documentation it is possible to mention user by its numerical id with markup: [inline mention of a user](tg://user?id=123456789)
According to official documentation it is possible to mention user by its numerical id with markup: [inline mention of a user](tg://user?id=123456789)
If you really want to understand Telegram API development from scratch. My advice would be to follow the steps here https://core.telegram.org/mtproto/auth_key and here https://core.telegram.org/mtproto/samples-auth_key Try to successfully generate an AuthKey. This exercise will get you familiar with enough of the basics as well as help you build up routines you will need to do further … Read more
Use @webpagebot You can send the link [up to 10] you want to update to this Bot and it will scan your site and generate the new image thumbnail, site name and description. Note: You may need to restart your Telegram client to see the updates Images are cached too. Update them the same way. … Read more
Now all clients allow to do it, but it’s not pretty simple. In any Telegram client: Open Channel info (in app title) Choose Administrators Add Administrator There will be no bots in contact list, so you need to search for it. Enter your bot’s username Clicking on it you make it as administrator.
As of Telegram Desktop Version 3.1.1, You can format the your message like: Create link: Ctrl + K = this pops Create link field and auto fills selected text on Text Other useful hotkeys: Ctrl + B = Bold Ctrl + I = Italic Ctrl + U = Underline Ctrl + Shift + S = … Read more
Go to @webpagebot and send the link (up to 10) you want to update. Automatically will scan your site and generate the new image thumbnail, site name and description. Remember to have og prefix in your html tag as: <html prefix=”og: http://ogp.me/ns#”> or telegram bot will not update the graph cache. via telegramgeeks
In order to get the group chat id, do as follows: Add the Telegram BOT to the group. Get the list of updates for your BOT: https://api.telegram.org/bot<YourBOTToken>/getUpdates Ex: https://api.telegram.org/bot123456789:jbd78sadvbdy63d37gda37bd8/getUpdates Look for the “chat” object: {“update_id”:8393,”message”:{“message_id”:3,”from”:{“id”:7474,”first_name”:”AAA”},”chat”:{“id”:<group_ID>,”title”:””},”date”:25497,”new_chat_participant”:{“id”:71,”first_name”:”NAME”,”username”:”YOUR_BOT_NAME”}}} This is a sample of the response when you add your BOT into a group. Use the “id” of the … Read more