> ## 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 Linking

> Authorizing Telegram with Ayrshare

Telegram uses bots to allow posting to your group or channel.
You will need to give admin access to the Ayrshare Telegram Bot via the Telegram mobile app to enable publishing and deleting.

<Info>
  You must have administrative access to the channel or group to add a bot. Telegram channel posts
  show the channel name and logo as the author. Telegram group posts show the Ayrshare name and logo
  as the author.
</Info>

## How to Link Telegram with Ayrshare

1. In the Telegram mobile app, go to the channel or group where you want to publish. Tap the three horizontal dots in the upper right corner and go to **Info**.

   <img class="center" width="300" src="https://mintcdn.com/ayrshare-docs/dKBti0xVDJrOZ19f/images/dashboard/telegram%20settings.webp?fit=max&auto=format&n=dKBti0xVDJrOZ19f&q=85&s=c77656b69e37530daa80f7cad7d499ab" alt="Open Telegram app and select settings" data-path="images/dashboard/telegram settings.webp" />

2. Add Ayrshare as an Admin:

   <ul class="custom-bullets">
     <li>If a *Channel*, select **Administrators** and **Add Admin**.</li>

     <li>
       If a *Group*, add Ayrshare as a member by clicking "+ Add", and search for **Ayrshare** to
       add as a member. Next, select **Edit** in the upper right corner, click **Administrators,**
       and **Add Admin**.
     </li>
   </ul>

3. Search for **Ayrshare** and select the *Ayrshare bot*.

   <img class="center" width="400" src="https://mintcdn.com/ayrshare-docs/dKBti0xVDJrOZ19f/images/dashboard/telegram%20bot.webp?fit=max&auto=format&n=dKBti0xVDJrOZ19f&q=85&s=4088b217a9e013f20ac6df8e3cf0f008" alt="Add the Ayrshare bot" data-path="images/dashboard/telegram bot.webp" />

4. You will be asked to select permissions for the bot. Select all the permissions except the last two so the bot can post and delete on your behalf.

   <img class="center" width="400" src="https://mintcdn.com/ayrshare-docs/dKBti0xVDJrOZ19f/images/dashboard/telegram%20permissions%20bot.webp?fit=max&auto=format&n=dKBti0xVDJrOZ19f&q=85&s=a69c7527be5667f9236b0332d956bc7a" alt="Select permissions" data-path="images/dashboard/telegram permissions bot.webp" />

5. Tap **Done** when complete.

6. In your Ayrshare Dashboard under Social Accounts you will be given a Telegram access code when you click on the Telegram icon.

7. Copy the code including the "Code:" part.

   <img class="center" width="400" src="https://mintcdn.com/ayrshare-docs/BkNwRAXLA9nG0LQA/images/dashboard/link%20telegram.webp?fit=max&auto=format&n=BkNwRAXLA9nG0LQA&q=85&s=7b18ddee46dc2374ffc47578292dcc52" alt="Link Telegram" data-path="images/dashboard/link telegram.webp" />

8. In your Telegram group or channel at the chat prompt, paste this code and press enter/tap the send button. If successful, you will get a success message back in the channel or group.

<Info>
  It could take up to **5 minutes** for Telegram to send you the success message after you enter the
  code message, so please be patient.
</Info>

<img class="center" width="300" src="https://mintcdn.com/ayrshare-docs/BkNwRAXLA9nG0LQA/images/dashboard/paste%20code.webp?fit=max&auto=format&n=BkNwRAXLA9nG0LQA&q=85&s=9e7d4f96f69fafec4fc1b888e7a4cca3" alt="Paste the code in Telegram chat" data-path="images/dashboard/paste code.webp" />

The Telegram integration is complete. You can now publish via the API or Web App.

If you need help or have questions, please <a href="javascript:void(0)" onClick={() => window.Intercom && window.Intercom('show')}>chat with us</a> or [contact us](mailto:support@ayrshare.com).

## Additional Telegram Information

Please see here for details on [posting to Telegram](/apis/post/social-networks/telegram), [getting analytics](/apis/analytics/overview), [managing comments](/apis/comments/overview), or [retrieving history.](/apis/history/overview)
