messages

Returns messages in chat: result page and marker referencing to the next page. Messages traversed in reverse direction so the latest message in chat will be first in result array. Therefore if you use from and to parameters, to must be less than from

get/messages

Request

  • Base URL
    https://botapi.tamtam.chat
  • URL
    https://botapi.tamtam.chat/messages
  • Auth
    API key in query parameter access_token

Query parameters

chat_idinteger

Chat identifier to get messages in chat

message_idsstring[] nullable

Comma-separated list of message ids to get

frominteger

Start time for requested messages

tointeger

End time for requested messages

countinteger

Maximum amount of messages in response

Response

Returns list of messages

Changes

    • info

      added highlighted discriminator mapping keys to the //////// response property for the response status

    • info

      added highlighted discriminator mapping keys to the ///////////// response property for the response status

    • info

      removed code discriminator mapping keys from the //////// response property for the response status

    • info

      removed code discriminator mapping keys from the ///////////// response property for the response status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property //////////// to the response with the status

    • info

      added the required property /////// to the response with the status

    • info

      added the required property //////////// to the response with the status

    • info

      added the required property /////// to the response with the status