polling-log2
This commit is contained in:
2
main.py
2
main.py
@@ -19,7 +19,7 @@ async def start():
|
||||
offset = 0 # init offset
|
||||
while True:
|
||||
response = await telegram_api("getUpdates", offset=offset, allowed_updates=['message', 'message_reaction'])
|
||||
logger.debug(response)
|
||||
# logger.debug(response)
|
||||
if isinstance(response, dict):
|
||||
result = response.get("result", [])
|
||||
for update in result:
|
||||
|
Reference in New Issue
Block a user