messages

Updated message should be sent as NewMessageBody in a request body. In case attachments field is null, the current message attachments won’t be changed. In case of sending an empty list in this field, all attachments will be deleted.

put/messages

Request

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

Query parameters

message_idstring required

Editing message identifier

Request body

textstring nullable required

Message text

notifyboolean

If false, chat participants would not be notified

format'markdown' | 'html'

Message text format

Response

Success or not result

successboolean required

true if request was successful. false otherwise

messagestring

Explanatory message if the result is not successful

Changes