API Reference Sexy v#0.11.0

Copy Markdown View Source

Modules

Telegram framework for Elixir — bots and userbots from one dependency.

Telegram Bot API framework with the single-message UI pattern.

Low-level HTTP client for the Telegram Bot API.

Serial update executor — your Sexy.Bot.Session callbacks run here.

Send notification messages with dismiss and navigate buttons.

GenServer that polls Telegram for updates and routes them to Sexy.Bot.Session callbacks.

Delivers Sexy.Utils.Object structs to Telegram and manages the message lifecycle.

Behaviour that bridges Sexy with your application.

TDLib integration for Elixir — manage userbot sessions via a tdlib_json_cli binary.

GenServer managing the Erlang Port to the tdlib_json_cli binary.

Resolves the tdlib_json_cli executable for the current platform.

GenServer that deserializes TDLib JSON into Elixir structs and forwards them to the app.

This module was generated using Telegram's TDLib documentation. It contains 1010 submodules (= structs).

This module was generated using Telegram's TDLib documentation. It contains 2370 submodules (= structs).

ETS-based session registry for TDLib sessions.

Per-session supervisor for a TDLib account.

Utility functions used across Sexy: query parsing, number formatting, UUID compression, and struct conversion.

Helpers for working with Telegram bot updates: command parsing, user/message extraction, media handling, text formatting, and pagination.

The universal message container for Sexy.Bot.

Mix Tasks

Generate Sexy.TDL.Object and Sexy.TDL.Method structs from a TDLib schema.

Download the tdlib_json_cli binary pinned in priv/tdlib/manifest.json into the per-user cache, verifying its sha256. Idempotent; no-op when config :sexy, :tdlib_binary (or SEXY_TDLIB_PATH) is set.

Interactive setup for Sexy.TDL (TDLib integration).