Ayrshare Docs
Ayrshare Home
Login
Business Plan
Chat with Us
Search…
Ayrshare Overview
Quick Start Guide
FAQ
REST API
API Overview
Endpoints
analytics
auto-hashtag
auto-schedule
brand
comments
feed
history
media
post
Social Networks
Facebook Page
Facebook Groups
Google My Business (GMB)
Instagram
LinkedIn
Pinterest
Reddit
Telegram
TikTok
Twitter
YouTube
profiles
short
user
webhooks
Errors
Ads
Test with Postman
Multiple Users
Business Plan Overview
User Integration
API Integration for Business
Manage Multiple User Profiles
Premium Plus
GUI Dashboard
Connect Social Media Accounts
Revoke Access to Social Media
RSS, Substack, and YouTube Feeds
Find an RSS Feed URL
Packages & Guides
Overview
Airtable
Bubble.io
Node.js NPM
Python PyPI
Wordpress Plugin
Additional Info
Troubleshooting
Image and Video Guidelines
Post Verification
What's New on Ayrshare 🎉
Upcoming API Changes
Status Updates
Powered By
GitBook
Telegram
Options for posting via the API to Telegram
Telegram API Endpoint
Overview
Please see details on using the Telegram API:
Telegram Linking
JSON for a basic post with a link and image to Telegram:
1
{
2
"post"
:
"The best Telegram message ever #best https://www.telegram.com"
,
3
"mediaUrls"
:
[
"https://img.ayrshare.com/012/gb.jpg"
],
4
"platforms"
:
[
"telegram"
]
5
}
Copied!
Telegram will automatically preview the link in the channel or group unless there is an image or video included. In the above example the image will show. Removing the image will cause the link preview to show.
Previous
Reddit
Next
TikTok
Last modified
3mo ago
Copy link
Contents
Telegram API Endpoint
Overview