> For the complete documentation index, see [llms.txt](https://alphabot-docs.gitbook.io/alphabot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alphabot-docs.gitbook.io/alphabot/raffles/post-raffle-to-telegram.md).

# Post Raffle to Telegram

{% hint style="warning" %}
The Telegram bot first needs to be set up in your channel or group (see [Telegram Bot Setup](/alphabot/the-bot/telegram-bot/telegram-bot-setup.md)) and it has to be successfully connected to your Alphabot team (see [Team Socials](/alphabot/for-teams/setting-up-your-team/team-socials.md#telegram-channels-and-groups)).
{% endhint %}

When creating a raffle, you have the option to enable `Connect Telegram Bot` which will allow you to post an embedded message of the raffle to your connected Telegram channel or group. If the auto-announce raffle is enabled, the bot will automatically post the raffle into your selected channel/group - if not, you'll have to manually trigger it in the raffle settings.

<img src="/files/IrSMy4j4Hszufixnpmpa" alt="" data-size="original">

There are two additional checkboxes, allowing you to automatically pin raffles (when posted) and un-pin raffles (when the end time is reached). In order for the auto (un)pin to work, the bot will need permission to do so - see [Telegram Bot Setup](/alphabot/the-bot/telegram-bot/telegram-bot-setup.md) for more.

Below is an example of what the embedded raffle message looks like on Telegram, with a button that allows users to enter the raffle without leaving Telegram, and a button to open up the raffle in a browser.

![](/files/wqPGFUY8E5ofxmXo1Dfd)
