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()