def escape_for_telegram(text):
    """
    Args:
        text (str)

    Returns:
        str: Escaped text
    """
    return text \
        .replace('\\', '\\\\') \
        .replace('[', '\\[') \
        .replace(']', '\\]') \
        .replace('(', '\\(') \
        .replace(')', '\\)') \
        .replace('`', '\\`') \
        .replace('>', '\\>') \
        .replace('#', '\\#') \
        .replace('+', '\\+') \
        .replace('-', '\\-') \
        .replace('=', '\\=') \
        .replace('|', '\\|') \
        .replace('{', '\\{') \
        .replace('}', '\\}') \
        .replace('.', '\\.') \
        .replace('!', '\\!') \
        .replace('*', '\\*') \
        .replace('_', '\\_') \
        .replace('~', '\\~')