> For the complete documentation index, see [llms.txt](https://docs-v2.autoforwardtelegram.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-v2.autoforwardtelegram.com/publish/how-to-get-a-discord-channel-id.md).

# How to Get a Discord Channel ID

#### 1. Get information channels Discord <a href="#id-1.-get-information-channels-discord" id="id-1.-get-information-channels-discord"></a>

**To retrieve Discord channel ID information, you must first configure both the Discord Token and the Telegram Token.**

After completing this configuration step, proceed to the Discord channel where you want to set up auto-forwarding.

<figure><img src="https://docs.discordtotelegram.com/~gitbook/image?url=https%3A%2F%2F1411727809-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FVhpPRFKnQMi8lMIm3GR5%252Fuploads%252F5p9QBJrvgdpp1mnNnH3d%252Fimage.png%3Falt%3Dmedia%26token%3D03c0f2c6-4c98-419f-bbb7-39501a2a6709&#x26;width=768&#x26;dpr=3&#x26;quality=100&#x26;sign=2c99a003&#x26;sv=2" alt=""><figcaption></figcaption></figure>

At this point, type **`/getid`** and press send.

<figure><img src="https://docs.discordtotelegram.com/~gitbook/image?url=https%3A%2F%2F1411727809-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FVhpPRFKnQMi8lMIm3GR5%252Fuploads%252FkpuaTWDuZT8M8mUGZJf3%252Fimage.png%3Falt%3Dmedia%26token%3D24d16b0b-b169-43b3-8733-085c92f5283c&#x26;width=768&#x26;dpr=3&#x26;quality=100&#x26;sign=dc43b69a&#x26;sv=2" alt=""><figcaption></figcaption></figure>

**The information about the channel, including the Channel ID, will be displayed immediately.**

**Copy this ID to set up the forward task.**

In the example above, the Channel ID will be **1330086886491947102**.

**🟠 Manual Guide to Retrieve Channel ID from Discord**

If the `/getid` command does not work to retrieve channel information, you can manually get the Channel ID by following these steps:

1. **Go to the Discord channel you want to retrieve the ID from**.
   * Open Discord and navigate to the desired channel.
2. **Copy the channel link**.
   * Right-click on the channel name and select **Copy Link**.
   * Example: The copied link will look like: `https://discord.com/channels/1330015664596848711/1330086886491947102`.
3. **Extract the Channel ID**.
   * The Channel ID is the last numeric part of the link.
     * For example, from the link: `https://discord.com/channels/1330015664596848711/1330086886491947102`, the **Channel ID** is **1330086886491947102**.
4. **Use this ID** in your configuration for the next steps.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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-v2.autoforwardtelegram.com/publish/how-to-get-a-discord-channel-id.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.
