Skip to main content
POST
Get a public channel's posts
  • Endpoint: telegram.posts
  • Returns: data has posts.
  • Cost: 1 credit per 20 items, at least 1 credit. Failed calls cost nothing.
  • Paging: Yes. Send the cursor from the response to get the next page. See Paging.

Example

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
channel
string
required
limit
integer
default:20
Required range: 1 <= x <= 200
cursor
string
Pattern: ^[1-9]\d{0,9}$

Response

The data, and the credits this call used.

success
any
required
data
object
required
creditsUsed
integer
required
requestId
string
required