pyrogram

asyncio not working on Google Cloud Functions

半腔热情 提交于 2021-02-20 02:57:43
问题 I have this function which works fine locally on my machine with python 3.8, but it throws runtime error on Google Cloud Functions. def telegram_test(request): request_json = request.get_json() import datetime import pandas as pd from pyrogram import Client session_string = "...............38Q8uTHG5gHwyWD8nW6h................." # the rest of the authantication api_id = 32494131641215 api_hash = "ioadsfsjnjksfgnfriuthg#qw]/zwq ]w/\lc ec," # one of bbc channels on telegram you want to access