# telegram: Send messages to Telegram

The `telegram()` destination sends log messages to [Telegram](<https://core.telegram.org/> "https://core.telegram.org"), which is a secure, cloud-based mobile and desktop messaging app.

Note that this destination automatically uses the certificate store of the system (for details, see the [curl documentation](<https://curl.se/docs/sslcerts.html>)).

## Declaration:
```
    @include "scl.conf"
    # ...
    
    telegram(parameters);
    
```

You can use the `proxy()` option to configure the HTTP driver in all HTTP-based destinations to use a specific HTTP proxy that is independent from the proxy configured for the system.

## Example: Using the telegram() driver

The following example creates a `telegram()` destination.
```
 
    @include "scl.conf"
    # ...
    
    destination d_telegram {
        telegram(
            template("${MESSAGE}")
            throttle(1)
            parse-mode("markdown")
            disable-web-page-preview("true")
            bot-id("<bot id>")
            chat-id("<chat id>")
        );
    };
    
```

* * *

[telegram() destination options](../../docs/axosyslog-core/chapter-destinations/configuring-destinations-telegram/reference-destinations-telegram/index.md)

Last modified January 14, 2026: [Fix type keyword in frontmatter (2c54f5f)](<https://github.com/axoflow/axosyslog-core-docs/commit/2c54f5f2b98d4f14096313e9b73f5d169d659346>)