Channels
get/v1/channel/mentions

Request

Query parameters

internal_idstring required

Chat internal id

from_dateinteger

An optional UTC timestamp specifying the minimum date.

to_dateinteger

An optional UTC timestamp specifying the maximum date.

kind'Mention' | 'Forward'
Example:Mention

Mention kind

short_infoboolean

A boolean flag indicating whether to include basic information about the channels mentioned in the messages.

If set to true, the response will include an array of ChatShort objects containing details about the source channel, forwarded channel (if applicable), and any Giveaway channels mentioned.

cursorstring

An optional cursor string used for pagination.

Response

Channel mentions

totalinteger required

Total mentions count

cursorstring nullable

Next page cursor

Example response

{
  "total": 1000,
  "mentions": [
    {
      "source_chat_id": "1B3CMw",
      "kind": "Mention"
    }
  ],
  "chats": [
    {
      "internal_id": "1B3CMw",
      "peer": "Channel",
      "title": "Zelenskiy / Official",
      "photo_url": "https://img.telemetr.io/c/1l1EcE/5406980229706134223?w=64&h=64",
      "country": "ukraine",
      "language": "ua",
      "category": "mf2MkrwoE",
      "members_count": 840943
    }
  ]
}

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added subschema #2 to the response body allOf list for the response status

    • info

      added subschema #2 to the response body allOf list for the response status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status