Telegram Search

Search Telegram globally

Runs Telegram contacts.search through the selected connected account and returns separately labelled local and global people, groups, supergroups, and channels.

get/v1/telegram/search

Request

  • Base URL: https://api.entergram.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.entergram.com/v1/telegram/search
  • Auth: API key in header X-API-Key

Query parameters

account_idstring required

Connected account id used for the live Telegram search.

Example:acct_demo_123
querystring required

Telegram name or username to search globally.

Example:product community
limitinteger

Maximum results requested from Telegram per search section.

Example:20

Response

OK

Example response

{
  "data": {
    "globalResults": [
      {
        "isPublic": true,
        "memberCount": 245,
        "source": "global",
        "telegramId": "-1000001234567",
        "title": "Community Alpha",
        "type": "supergroup",
        "username": "community_alpha",
        "visibility": "public"
      }
    ],
    "localResults": [
      {
        "isPublic": true,
        "memberCount": 245,
        "source": "global",
        "telegramId": "-1000001234567",
        "title": "Community Alpha",
        "type": "supergroup",
        "username": "community_alpha",
        "visibility": "public"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.