Search
Changed onAllows searching for channels by name, description, country, language, and category.
Request
- 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
Search phrase or link to the channel.
https://t.me/v_zelenskiy_official or @v_zelenskiy_official or private link https://t.me/+AAAAAEXn99bdXjIqSGYCsA
Search in channel description.
term will be searched not only in the channel name but also in the description
Chat type
Chat type.
Can be Channel or Group By default Channel is used
Channel country.
List of countries can be obtained here /v1/dictionaries/countries
Channel language.
List of languages can be obtained here /v1/dictionaries/languages
Channel category id.
List of categories can be obtained here /v1/dictionaries/categories Example: mf2MkrwoE
Number of results.
Max limit can be changes. Contact @telemetrio_contact or contact@telemetr.io.
Default is 20.
Response
Channels list
Example response
[
{
"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