# Copy button

Copy button block is needed to provide the user with the referral link, coupon code, etc.

The example of copy button usage to copy invite link. This is needed for users which want to send invite link to WhatsApp or another messenger instead of Telegram:

<figure><img src="/files/pb6n8U6TWzpK0K8zToDb" alt=""><figcaption></figcaption></figure>

In this case, the text for copying is:

`Get 5,500 coins from me for starting in this game. We are agents deploying AI bots into Telegram communities to take over the world. Join our forces ⚡️ {{invitation_link}}`

Keep in mind, that here the [placeholder is used](/tgtaps-docs/features/placeholders.md). `{{invitation_link}}` is a link with referral code to track your friends sign-ups.

***

Something unclear in docs or you know how to improve article? [Message us in community!](https://docs.tgtaps.com/tgtaps-docs/readme/community)\
We will answer you and then promise to improve the article within 3 days.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tgtaps.gitbook.io/tgtaps-docs/blocks/basic/copy-button.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
