Messages
GET/api/v1/telegram/messages
Get Telegram messages.
Request
Query Parameters
Specifies channel username
Page number
1
Page size
10
Possible values: [channelName
, views
, reactions
, forwards
, publishedAt
]
Specifies key to sort by
publishedAt
Possible values: [asc
, desc
]
Specifies sort
desc
Possible values: [english
, korean
]
Specifies category
Header Parameters
Your DataMaxi+ API key
Responses
- 200
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
specifies an array of the Telegram messages
specifies the channel handle
specifies the channel id
specifies the channel name
specifies the number of forwards
specifies the message text
specifies the message id
specifies the link to Telegram message
specifies the published date
specifies the number of reactions
specifies the number of views
{
"category": "string",
"data": [
{
"channelHandle": "string",
"channelId": "string",
"channelName": "string",
"forwards": 0,
"message": "string",
"messageId": "string",
"messageLink": "string",
"publishedAt": 0,
"reactions": 0,
"views": 0
}
],
"key": "string",
"limit": 0,
"page": 0,
"sort": "string",
"total": 0
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error
specifies the error message
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error
specifies the error message
{
"error": "string"
}