add examples
This commit is contained in:
6
examples/telegram-send/info-get-chat-id.py
Executable file
6
examples/telegram-send/info-get-chat-id.py
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/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')
|
||||
Reference in New Issue
Block a user