mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Minor updates to the documentation and errors
This commit is contained in:
@@ -91,7 +91,7 @@ You will still need an API ID and hash, but the process is very similar:
|
||||
api_hash = '0123456789abcdef0123456789abcdef'
|
||||
bot_token = '12345:0123456789abcdef0123456789abcdef
|
||||
|
||||
# We have to manually call "start" if we want a explicit bot token
|
||||
# We have to manually call "start" if we want an explicit bot token
|
||||
bot = TelegramClient('bot', api_id, api_hash).start(bot_token=bot_token)
|
||||
|
||||
# But then we can use the client instance as usual
|
||||
|
Reference in New Issue
Block a user