mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-29 04:43:45 +03:00
(Fix) Fix api_id type mismatch
This commit is contained in:
parent
1ca41b5854
commit
f083b88f59
|
@ -57,7 +57,7 @@ class TelegramBareClient:
|
||||||
can also be specified to be used on the connection.
|
can also be specified to be used on the connection.
|
||||||
"""
|
"""
|
||||||
self.session = session
|
self.session = session
|
||||||
self.api_id = api_id
|
self.api_id = int(api_id)
|
||||||
self.api_hash = api_hash
|
self.api_hash = api_hash
|
||||||
self.proxy = proxy
|
self.proxy = proxy
|
||||||
self._logger = logging.getLogger(__name__)
|
self._logger = logging.getLogger(__name__)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user