How to interact with Telegram API

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

How to force telegram to update link preview?

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

Telegram Bot – how to get a group chat id?

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