How to obtain Telegram chat_id for a specific user?
The message updates you receive via getUpdates or your webhook will contain the chat ID for the specific message. It will be contained under the message.chat.id key. This seems like the only way you are able to retrieve the chat ID. So if you want to write something where the bot initiates the conversation you … Read more