Answer the question
In order to leave comments, you need to log in
How to end a function?
async def say(akk,audio,chat):
async with telethon.TelegramClient(akk,api_id,api_hash) as client:
@group_call.on_playout_ended
async def audio_ended(gc, source):
# Сдесь нужно завершыть функцыю say
await pyrogram.idle()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question