def rule(event):
    if all(
        [
            event.deep_get("cs-host", default="") == "api.telegram.org",
            not any(
                [
                    "Telegram" in event.deep_get("c-useragent", default=""),
                    "Bot" in event.deep_get("c-useragent", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
