Mentions
Changed onRequest
- Base URLhttps://api.tlmtr.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Chat internal id
An optional UTC timestamp specifying the minimum date.
An optional UTC timestamp specifying the maximum date.
Mention kind
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.
An optional cursor string used for pagination.
Response
Channel mentions
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
objectto no type for status - breaking
the response's body type changed from
objectto 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 #2to the response bodyallOflist for the response status - info
added
subschema #2to the response bodyallOflist for the response status
- breaking
- info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info