Channels
GET/api/v1/telegram/channels
Fetch telegram channels
Request
Query Parameters
page string
Specifies page
Default value:
1
Example: 1
limit string
Specifies limit
Default value:
50
Example: 100
category string
Specifies language category of telegram channel
Default value:
empty
Example: english
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
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
specifies an array of the Telegram channels
c string
specifies the category
d integer
specifies the date and time in unix milliseconds
l string
specifies the link
m string
specifies the number of members
p string
specifies the photo url
t string
specifies the title
u string
specifies the username
limit integer
specifies the number of records per page
page integer
specifies the current page of the response
sort string
specifies the order of the records
{
"data": [
{
"c": "string",
"d": 0,
"l": "string",
"m": "string",
"p": "string",
"t": "string",
"u": "string"
}
],
"limit": 0,
"page": 0,
"sort": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
error
specifies the error message
{
"error": "string"
}
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...