v0.2.1 β Know your role.
telegram fetch dialogs now includes your accountβs membership, admin, and owner status. Find channels and groups you belong to but do not administer using the dialog list alone, without an extra request for each chat. telegram fetch peer includes the same status in channel and group cards.
Find your ordinary memberships
indexit -q telegram fetch dialogs \
| jq -c 'select(.peer_type | IN("channel", "supergroup", "chat")) | select(.is_member == true and .is_admin == false)'is_membertells you whether your signed-in account currently belongs to the chat. Groups that have been replaced by a supergroup are not counted as current memberships.is_adminincludes both administrators and owners.is_creatoridentifies ownership separately.- The fields work for channels, supergroups, and basic groups. Remove
"chat"from the filter if you only want channels and supergroups. - These are your accountβs rights; names and member counts are not used to infer who owns a chat.
Keep unknown status distinct
- Known values are explicit
trueorfalse. When Telegram supplies too little information, the status fields are absent. Keep those records for separate review instead of treating them as non-admin memberships. - Channel direct-message inboxes also leave this status absent; they are not ordinary group memberships.
- Telegram may retain ownership flags on a channel you left or a group that was replaced by a supergroup. Use
is_member == truetogether withis_creator == trueto find owned chats you currently belong to.
Upgrade: on macOS, run brew update followed by brew upgrade --cask octolab/tap/indexit. For a manual installation, use a v0.2.1 release archiveΒ . Run indexit version to check the installed version. If you use the agent skill, replace it with the new binaryβs copy.