skip to Main Content

What is access_hash in telegram API?

When you contacts.resolveUsername, the result always contains both id and access_hash. It creates confusion for API users, as to why you are only able to resolve a user/chat/channel only by their username or by their (id, access_hash) pair (eg. here…

VIEW QUESTION

PHP Telegram send message example

How optimal is this code for sending a letter to my bot in telegram? Is it possible to make the code more optimal? !How to get a chat ID: https://api.telegram.org/bot/getUpdates Send to the browser address bar: https://api.telegram.org/bot470129572:HFApoAHFVN37852983HDFON385cNOhvs/getUpdates @return {"ok":true,"result":[{"update_id":653246792, "message":{"message_id":1,"from":{"id":023752053…

VIEW QUESTION

How to send telegram message to a topic thread?

Recently Telegram added support for Topics in Groups in Bot API version 6.3 and this support added into python-telegram-bot version 13.15 (please find changelog https://docs.python-telegram-bot.org/en/stable/changelog.html) Im sending messages like this: { "@type": "sendMessage", "chat_id": "-1001580394181", "input_message_content": { "@type": "inputMessageText","text": {…

VIEW QUESTION
Back To Top
Search