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

# Roulette

Roulette is a component that allows your users to win some items:

* coins;
* rates;
* physical things (iPhone, money, etc.);
* tickets.

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2FMw09IIXwfgjwEOTflmb5%2Fchrome_okOsul64Uj.gif?alt=media&amp;token=7efd76df-701a-4083-b3a3-f7221851a74e" alt=""><figcaption></figcaption></figure>

To configure roulette, add roulette items.

Also configure:

* which chance to win (1%, 0.001%, etc.);
* whether user can win one item twice;
* what is limit of wins (for example, 500 tickets);

### Messages

You can message users and admins when a specific item is won. For example, to track amount of won expensive items.

To do so:

1. Add bot to the group
2. Select group in dropdown
3. Click "save"

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2FGRBpb0qnUxNdmpZOeOci%2Fimage.png?alt=media&amp;token=4fd26c67-8d1f-4099-a7b1-bd51fd5e2ae4" alt=""><figcaption></figcaption></figure>
