#296 Get bot's user_id without get_me

This commit is contained in:
Oleg A 2020-04-07 09:36:16 +03:00
parent a565251d4e
commit 8cd781048a

View file

@ -61,6 +61,7 @@ class BaseBot:
api.check_token(token)
self._token = None
self.__token = token
self.id = int(token.split(sep=':')[0])
self.proxy = proxy
self.proxy_auth = proxy_auth