The Telegram Bot API requires bot creation through BotFather, webhook configuration, and understanding of chat-based messaging models. RelayAPI handles OAuth, rate limits, media hosting, and API changes.
No credit card required · Free plan available
const res = await fetch("https:">//api.relayapi.dev/v1/posts", {
method: "POST",
headers: {
Authorization: "Bearer rlay_live_xxxx",
"Content-Type": "application/json",
},
body: JSON.stringify({
content: "Check out our latest update!",
platforms: ["telegram"],
media: ["https:">//cdn.example.com/image.jpg"],
}),
});Authorize your Telegram account via OAuth in about 30 seconds.
Use the REST API or our SDKs to publish content from your stack.
RelayAPI manages publishing, rate limits, and delivery notifications.
Send Telegram messages with a single API call. No webhook server, no bot token management, no media group construction. Specify the chat, content, and formatting -- we handle delivery.
RelayAPI uses the official Telegram Bot API. Your messages are delivered natively with read receipts and inline keyboards, while we handle bot management, webhooks, and rate limits.
Publishing to Telegram channels and groups requires admin permissions and different API patterns. RelayAPI unifies channel, group, and direct messaging into a single endpoint with automatic permission handling.
Yes. Telegram's API requires a bot for programmatic messaging. You create a bot via BotFather and connect it through RelayAPI. Your bot must be added as an admin to any channels or groups you want to publish to.
RelayAPI supports text messages (with Markdown and HTML formatting), photos, videos, documents, audio files, voice messages, polls, location sharing, and media groups (albums of up to 10 items).
Yes. Add your bot as a channel admin and specify the channel username or ID in your request. RelayAPI handles the channel-specific API patterns and validates admin permissions before sending.
Telegram supports Markdown, HTML, and MarkdownV2 formatting. RelayAPI accepts any format and handles entity parsing, escape sequences, and formatting validation automatically.
Join developers who chose RelayAPI over wiring up Telegram Bot API by hand.