> ## Documentation Index
> Fetch the complete documentation index at: https://www.ayrshare.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Telegram API

> Telegram API का उपयोग करके पोस्ट करने के विकल्प

## Telegram पर पोस्ट करना

Telegram API का उपयोग करके एक लिंक और छवि के साथ बुनियादी पोस्ट के लिए JSON:

```json Telegram Post theme={"system"}
{
  "post": "The best Telegram message ever #best https://www.telegram.com", // empty string is allowed
  "mediaUrls": ["https://img.ayrshare.com/012/gb.jpg"],
  "platforms": ["telegram"]
}
```

Telegram चैनल या group में लिंक का पूर्वावलोकन स्वचालित रूप से करेगा जब तक कि कोई छवि या वीडियो शामिल न हो। उपरोक्त उदाहरण में छवि दिखाई देगी। छवि हटाने से लिंक पूर्वावलोकन दिखाई देगा।

यदि आपका वीडियो mp4 जैसे किसी ज्ञात वीडियो एक्सटेंशन के साथ समाप्त नहीं होता है, तो कृपया `isVideo` पैरामीटर का उपयोग करें। विवरण के लिए [/post endpoint](/apis/post/post) देखें।

अधिक जानकारी के लिए [Telegram Media Guidelines](/media-guidelines/telegram) और [Telegram Authorization](/dashboard/connect-social-accounts/telegram) देखें।

## Animated GIFs

Telegram animated GIF के साथ केवल एक URL की अनुमति है। यदि मीडिया URL ".gif" या ".GIF" के साथ समाप्त नहीं होता है, तो `isVideo` फ़ील्ड को `true` पर सेट करें।

```json Telegram Animated GIF theme={"system"}
{
    "randomPost": true,
    "platforms": [
        "telegram"
    ],
    "isVideo": true,    // Set to true if the mediaURL does not end in .gif or .GIF
    "mediaUrls": ["https://img.ayrshare.com/012/cat.gif"]
}
```

## Telegram Mentions

पोस्ट टेक्स्ट में `@handle` जोड़कर किसी अन्य Telegram handle का mention करें। उदाहरण के लिए:

```json Telegram Post with Mention theme={"system"}
{
  "post": "The best Telegram image post ever @handle",
  "platforms": ["telegram"]
}
```

<Warning>
  कृपया mentions पर [महत्वपूर्ण नियमों](/testing/post-verification#mentions) की समीक्षा करें।
</Warning>

## Character Limits

अधिक जानकारी के लिए कृपया [Telegram Character Limits](/help-center/technical-support/character_limits#telegram-character-limits) देखें।
