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)
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.
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