# Collab.Land --> Telegram

## **Giving Hats Access to Telegram via Collab.Land**

#### 1. Connect your Telegram channel to Collab.Land

[Follow steps 1-3 found here.](https://collabland.freshdesk.com/support/solutions/articles/70000637073-telegram-bot-walkthrough)

#### 2. Add a requirement that an address must hold a specific hat token ID in order to access the Telegram channel

Once you get to Step 4 [in the instruction link above](https://collabland.freshdesk.com/support/solutions/articles/70000637073-telegram-bot-walkthrough) to add Token Gating Access to your Telegram Channel via Collab.Land, add a TGA with the following details:

* Enter the chain your Hats are on
* Select the "ERC1155" token type
* Add the Hats Protocol contract address
* Enter the custom token ID associated with the hat
* Choose a minimum balance of 1

*See* [#hats-protocol-contract-addresses-and-token-ids](https://docs.hatsprotocol.xyz/hats-integrations/permissions-and-authorities/..#hats-protocol-contract-addresses-and-token-ids "mention") *for details on how to find the Hats Protocol contract address and specific hat token IDs*.

![](https://4112750745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYVrI6eFo60Gwsn2A05qA%2Fuploads%2FKbFXMChi0iZJOefuHDxz%2Fcollabland%20TGA%20telegram.png?alt=media\&token=90148e86-c1ee-4562-957f-7d6507d0b49e)

#### 3. Use the Collab.Land invite link for your Telegram Channel moving forward

In the "Bot Config / Invite Link", copy the invite link found there and use this to link to add hat wearers to the Telegram channel (the invite link provided directly by Telegram will no longer work).

That's it, you're done! All hat wearers have to do to access the Telegram channels associated with their hat is to visit the invite link you provide them and connect their wallet to the Collab.Land bot that will appear.


---

# 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://docs.hatsprotocol.xyz/hats-integrations/permissions-and-authorities/telegram/collab.land-greater-than-telegram.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.
