@borg.on(events.NewMessage(pattern='\\.new', outgoing=True))
async def _(event):
    if (not event.message.is_reply):
        return
    msg = (await event.message.get_reply_message())
    yaml_text = yaml_format(msg)
    (await event.edit(yaml_text, parse_mode=parse_pre))
@borg.on(events.NewMessage(pattern='\\.new', outgoing=True))
async def _(event):
    if (not event.message.is_reply):
        return
    msg = (await event.message.get_reply_message())
    yaml_text = yaml_format(msg)
    (await event.edit(yaml_text, parse_mode=parse_pre))