# Get information channels, groups, your account

{% hint style="warning" %}
This command is used for setting up auto forward. This command should be run after you have already connected a telegram account with [connect](/guides/how-to-connect.md) command.
{% endhint %}

{% hint style="info" %}
This command is used to get a list of groups, bots, channels or users ID's for use [/forward ](/guides/how-to-create-task-auto-forward.md)command.
{% endhint %}

### Use Commands

{% hint style="success" %}
/getchanel
{% endhint %}

{% hint style="success" %}
/getgroup
{% endhint %}

{% hint style="success" %}
/getuser
{% endhint %}

![](/files/l4uSLh3dhkKrHB14XlV2)

{% embed url="<https://www.youtube.com/watch?v=p3KDSrinlsA>" %}


---

# 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-v2.autoforwardtelegram.com/guides/get-information-channels-groups-your-account.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.
