Files
botlib/examples/telegram-send/info-get-chat-id.py
2022-04-08 20:22:08 +02:00

7 lines
187 B
Python
Executable File

#!/usr/bin/env python3
from botlib.tgclient import TGClient
print('open a new telegram chat window with your bot and send /start')
TGClient.listen_chat_info(__API_KEY__, 'my-username')