Common types used across the library.
This module defines type specifications for Telegram API data structures and common types used throughout TelegramEx.
Summary
Types
@type chat_id() :: integer()
Telegram chat identifier.
Used to identify chats, users, and groups.
@type update() :: map()
A raw update from the Telegram API.
Updates are maps with string keys containing message, callback query, or other update types.
@type updates() :: [update()]
A list of updates from the Telegram API.