Skip to main content

Channel Posts

GET 

/api/v1/telegram/posts

Fetch telegram channel posts

Request

Query Parameters

    page string

    Specifies page

    Default value: 1
    Example: 1
    limit string

    Specifies limit

    Default value: 50
    Example: 100
    channel string

    Specifies channel username

    Default value: empty
    Example: @datamaxiplus
    sort string

    Possible values: [asc, desc]

    Specifies sort

    Default value: desc
    Example: asc

Header Parameters

    X-DTMX-APIKEY stringrequired

    Your DataMaxi+ API key

Responses

OK

Schema

    data

    object[]

    specifies an array of the Telegram Posts

  • Array [

  • cc string

    specifies the channel category

    cp string

    specifies the channel photo url

    ct string

    specifies the channel title

    cu string

    specifies the channel username

    d integer

    specifies the date and time in unix milliseconds

    pf string

    specifies the number of forwards

    pt string

    specifies the text

    pv string

    specifies the number of views

  • ]

  • 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

Loading...