Bot API to interact with TamTam.
TamTam Bot API lets developers build bots that interact with the TamTam messaging platform over HTTPS requests to the botapi.tamtam.chat domain. Bots can communicate with users, respond to requests, present programmed buttons (callback, link, request_contact, request_geo_location, and chat types), and request personal data such as name, phone number, or a short reference. Typical use cases include support and FAQ bots, sending informational messages, running votes or like/dislike polls, linking to external resources, and forwarding users into a chat or channel.
The API uses standard HTTP verbs (GET, POST, PUT, DELETE, PATCH) with JSON-formatted, UTF-8 encoded request and response bodies, and returns standard HTTP status codes along with a JSON error object containing a code and message on failure. Bots receive event notifications either through webhook push subscriptions or through long polling, but not both simultaneously; webhook delivery retries for up to 8 hours and is rate-limited to 100 notifications per second by default, with webhook traffic originating from a defined set of TamTam IP subnets.
The API also supports deep linking, allowing a start link to pass a payload of up to 128 characters to a bot when a user opens a chat with it, and a "constructor mode" where a bot can generate ready-to-send messages or keyboards in response to a user's in-app message composition request. Bot creation and editing is handled through PrimeBot, the platform's built-in bot for managing other bots.
It lets third-party bots interact with TamTam by sending HTTPS requests to the botapi.tamtam.chat domain, such as sending messages, managing chats, and responding to users.
Bots can receive notifications either via WebHook push subscriptions or via long polling, though both methods cannot be used simultaneously.
The API uses JSON for request and response content, with UTF-8 encoded strings and UTC millisecond timestamps.
The TamTam Bot API is licensed under Apache 2.0.
Bots are created and edited using PrimeBot, TamTam's main bot for bot creation, and questions can be directed to @support or team@tamtam.chat.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Open Source Reddit Clone.
Team Instant Messaging.
Read Twitter data.
Simplified HTTP version of the MTProto API for bots.
Read and write Telegram data.
Fetches user info and user's video posts on TikTok platform.