contacts_groups
👥 Every group and channel a person is in together with us: Telegram's own 'groups in common' list, asked from each Telegram account of the workspace.
Pass contact_id (entity_id from contacts.find), or telegram_user_id, or a Telegram @username. Each group has its title, kind (group/channel), members, which of our accounts is in it, and thread_id when we keep it as a chat (read it with messages.read_history).
Groups none of our accounts is in cannot be seen; Telegram does not show them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | No | Telegram @username. OMIT otherwise. | |
| contact_id | No | entity_id from contacts.find. OMIT when passing telegram_user_id or username. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| telegram_user_id | No | Telegram user id (contacts.find returns it as telegram_user_id). OMIT otherwise. |