Skip to main content

Messages

GET 

/api/v1/telegram/messages

Get Telegram messages.

Request

Query Parameters

    channel string

    Specifies channel username

    Default value:
    Example: datamaxiplus
    page integer

    Page number

    Default value: 1
    Example: 1
    limit integer

    Page size

    Default value: 10
    Example: 100
    key string

    Possible values: [channelName, views, reactions, forwards, publishedAt]

    Specifies key to sort by

    Default value: publishedAt
    Example: publishedAt
    sort string

    Possible values: [asc, desc]

    Specifies sort

    Default value: desc
    Example: asc
    category string

    Possible values: [english, korean]

    Specifies category

    Default value:
    Example: english

Header Parameters

    X-DTMX-APIKEY stringrequired

    Your DataMaxi+ API key

Responses

OK

Schema

    category string

    data

    object[]

    specifies an array of the Telegram messages

  • Array [

  • channelHandle string

    specifies the channel handle

    channelId string

    specifies the channel id

    channelName string

    specifies the channel name

    forwards integer

    specifies the number of forwards

    message string

    specifies the message text

    messageId string

    specifies the message id

    messageLink string

    specifies the link to Telegram message

    publishedAt integer

    specifies the published date

    reactions integer

    specifies the number of reactions

    views integer

    specifies the number of views

  • ]

  • key string
    limit integer
    page integer
    sort string
    total integer
Loading...