GET api/ChatAPI/channelmessages/{channelid}/{dateoffset}

GetChannelMessages

Request Information

Parameters

NameDescriptionAdditional information
channelid

Define this parameter in the request URI.

dateoffset

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "date": "sample string 1",
  "page_size": 2,
  "next_page_token": "sample string 3",
  "messages": [
    {
      "id": "sample string 1",
      "message": "sample string 2",
      "sender": "sample string 3",
      "date_time": "2024-12-02T18:14:18.2600416+00:00",
      "timestamp": "sample string 5"
    },
    {
      "id": "sample string 1",
      "message": "sample string 2",
      "sender": "sample string 3",
      "date_time": "2024-12-02T18:14:18.2600416+00:00",
      "timestamp": "sample string 5"
    },
    {
      "id": "sample string 1",
      "message": "sample string 2",
      "sender": "sample string 3",
      "date_time": "2024-12-02T18:14:18.2600416+00:00",
      "timestamp": "sample string 5"
    }
  ]
}

text/javascript

Sample:
{"date":"sample string 1","page_size":2,"next_page_token":"sample string 3","messages":[{"id":"sample string 1","message":"sample string 2","sender":"sample string 3","date_time":"2024-12-02T18:14:18.2600416+00:00","timestamp":"sample string 5"},{"id":"sample string 1","message":"sample string 2","sender":"sample string 3","date_time":"2024-12-02T18:14:18.2600416+00:00","timestamp":"sample string 5"},{"id":"sample string 1","message":"sample string 2","sender":"sample string 3","date_time":"2024-12-02T18:14:18.2600416+00:00","timestamp":"sample string 5"}]}