Channels
GET/api/v1/telegram/channels
Get Telegram channels
Request
Query Parameters
page integer
Page number
Default value:
1
Example: 1
limit integer
Page size
Default value:
10
Example: 100
category string
Specifies language category of telegram channel
Default value:
empty
Example: english
key string
Possible values: [channelName
, handle
, subscribers
, createdAt
]
Specifies key to sort by
Default value:
channelName
Example: channelName
sort string
Possible values: [asc
, desc
]
Specifies sort
Default value:
desc
Example: asc
Header Parameters
X-DTMX-APIKEY stringrequired
Your DataMaxi+ API key
Responses
- 200
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
category string
data
object[]
category string
specifies the channel category
channelName string
specifies the channel name
channelTitle string
specifies the channel title
createdAt integer
specifies the creation time of the channel
description string
specifies the channel description
link string
specifies the channel link
subscribers integer
specifies the number of subscribers
key string
limit integer
page integer
sort string
total integer
{
"category": "string",
"data": [
{
"category": "string",
"channelName": "string",
"channelTitle": "string",
"createdAt": 0,
"description": "string",
"link": "string",
"subscribers": 0
}
],
"key": "string",
"limit": 0,
"page": 0,
"sort": "string",
"total": 0
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
error
specifies the error message
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
error
specifies the error message
{
"error": "string"
}
Loading...