Add-on: Telegram Bot API

Home Assistant App: Telegram Bot API

Hello everyone, if you are using the Telegram bot integration, you might want to check out this app (formerly known as add-on): https://github.com/hanwg/hassio-apps

Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

About

This app enables you to host your own Telegram Bot API server instead of using the official Telegram cloud servers at https://api.telegram.org.

Hosting your own server offers advantages such as larger file size limits for messages and faster response times. For more details, please refer to using a local bot API server in the official documentation.

The app is built using the hanwg/telegram-bot-api image, compiled directly from the TDLib official source.

Features

  • Reduce network latency: Keep network traffic local and eliminate round-trips between your Telegram bot and the Bot API server.
  • Increased file size limits: Upload and download files up to 2GB.
  • Easy integration: Works seamlessly with the core Home Assistant Telegram bot integration.

Getting Started

Check the documentation for comprehensive setup guides and other resources.

I can confirm that this is a great app!
But if you’re interested in all of this, but with support for connecting through a proxy server (MTProto, SOCKS5 or HTTP with or without authorization), such an App (Add-on) is available here - GitHub - avbor/hassio-apps: Home Assistant Apps (Add-ons) :sweat_smile:
This can be very useful where access to Telegram is restricted.
It is also worth paying attention to the latest implementations of MTProxy - GitHub - telemt/telemt: MTProxy for Telegram on Rust + Tokio and GitHub - 9seconds/mtg: Highly opinionated MTPROTO proxy for Telegram