A Telegram bot framework and API client library for Elixir, featuring generated API bindings and advanced processing chains.
Telegex is an Elixir library that provides both a complete client for the Telegram Bot API and a framework for building Telegram bots. It solves the problem of interacting with Telegram's API in a type-safe, reliable way while offering advanced features like chain-based processing for complex bot logic.
Elixir developers who need to create Telegram bots, from simple automated responders to complex applications requiring structured update handling and type-safe API interactions.
Developers choose Telegex because it offers automatically generated, always-up-to-date API bindings directly from Telegram's documentation, combined with a robust framework that supports both polling and webhook modes with adapter flexibility.
Telegram bot framework and API client written in Elixir
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
All API functions, types, and docs are automatically generated from official Telegram documentation, ensuring accuracy and eliminating manual updates.
Supports both polling for reliable, ordered updates and webhook for event-driven handling, offering flexibility based on bot needs.
Uses Elixir structs instead of maps for API responses, providing better developer experience with compile-time checks and autocompletion.
Configurable HTTP client adapters (Finch or HTTPoison) and web server adapters (Bandit or Cowboy), allowing customization for performance and deployment.
The advanced chain-based processing model lacks official documentation, forcing users to seek help in external Telegram groups for implementation.
Requires manual cleanup of dependency builds after upgrades and careful adapter configuration, adding overhead to development and deployment workflows.
When using HTTPoison as the HTTP client adapter, sending local files is not supported, which can be a blocker for bots handling media uploads.