async def get_font_file(client, channel_id):
    font_file_message_s = (await client.get_messages(entity=channel_id, filter=InputMessagesFilterDocument, limit=None))
    font_file_message = random.choice(font_file_message_s)
    return (await client.download_media(font_file_message))
async def get_font_file(client, channel_id):
    font_file_message_s = (await client.get_messages(entity=channel_id, filter=InputMessagesFilterDocument, limit=None))
    font_file_message = random.choice(font_file_message_s)
    return (await client.download_media(font_file_message))