mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
show bot id
This commit is contained in:
parent
ea51b1e95e
commit
3109e35bb4
@ -73,7 +73,7 @@ def _make_request(token, method_name, method='get', params=None, files=None):
|
|||||||
else:
|
else:
|
||||||
request_url = "https://api.telegram.org/bot{0}/{1}".format(token, method_name)
|
request_url = "https://api.telegram.org/bot{0}/{1}".format(token, method_name)
|
||||||
|
|
||||||
logger.debug("Request: method={0} url={1} params={2} files={3}".format(method, request_url, params, files).replace(token, "{TOKEN}"))
|
logger.debug("Request: method={0} url={1} params={2} files={3}".format(method, request_url, params, files).replace(token, token.split(':')[0] + ":{TOKEN}"))
|
||||||
read_timeout = READ_TIMEOUT
|
read_timeout = READ_TIMEOUT
|
||||||
connect_timeout = CONNECT_TIMEOUT
|
connect_timeout = CONNECT_TIMEOUT
|
||||||
if files and format_header_param:
|
if files and format_header_param:
|
||||||
|
Loading…
Reference in New Issue
Block a user