Update a dialog message.
Mark messages as delivered
1. Specify if you want to mark messages as delivered
delivered
parameter to 1
to mark all messages as delivered.2. Set the ID of the dialog
chat_dialog_id
to refer to a specific dialog.3. As a result, the API retuns a '200 OK' status code which implies that all messages of the specified dialog were marked as delivered.
Update message text
1. Type an updated message
message
parameter.2. Set the ID of the dialog
chat_dialog_id
to refer to a specific dialog.3. Set the ID of the message
4. As a result, the API returns '200 OK' status code which implies that the message was successfully updated.
Mark messages as read
1. Specify if you want to mark messages as read.
read
parameter to 1
to mark all messages as read.2. Set the ID of the dialog.
chat_dialog_id
to refer to a specific dialog.3. As a result, the API retuns a '200 OK' status code which implies that all messages of the specified dialog were marked as read.
Mark messages as delivered with API key
1. Use 'Authorization' header to pass API key
2. Use 'On-Behalf-Of' header to pass user id
3. Specify if you want to mark messages as delivered
delivered
parameter to 1
to mark all messages as delivered.4. Set the ID of the dialog
chat_dialog_id
to refer to a specific dialog.5. As a result, the API retuns a '200 OK' status code which implies that all messages of the specified dialog were marked as delivered.
Update message text with API key
1. Use 'Authorization' header to pass API key
2. Use 'On-Behalf-Of' header to pass user id
3. Type an updated message
message
parameter.4. Set the ID of the dialog
chat_dialog_id
to refer to a specific dialog.5. Set the ID of the message
6. As a result, the API returns '200 OK' status code which implies that the message was successfully updated.
Mark messages as read with API key
1. Use 'Authorization' header to pass API key
2. Use 'On-Behalf-Of' header to pass user id
3. Specify if you want to mark messages as read
read
parameter to 1
to mark all messages as read.4. Set the ID of the dialog.
chat_dialog_id
to refer to a specific dialog.5. As a result, the API retuns a '200 OK' status code which implies that all messages of the specified dialog were marked as read.
Mark all messages as read
1. Specify if you want to mark messages as read.
read
parameter to 1
to mark all messages as read.2. Set the ID of the dialog.
chat_dialog_id
to refer to a specific dialog.3. Don't set any message ID to the path
4. As a result, the API retuns a '200 OK' status code which implies that all messages of the specified dialog were marked as read.
Mark all messages as delivered
1. Specify if you want to mark messages as delivered
delivered
parameter to 1
to mark all messages as delivered.2. Set the ID of the dialog
chat_dialog_id
to refer to a specific dialog.3. Don't set any message ID to the path
4. As a result, the API retuns a '200 OK' status code which implies that all messages of the specified dialog were marked as delivered.
read=1
to perform. As a result, the user ID is added to the array of read_ids
field. See the Messages model for more details. delivered=1
to perform. As a result, the user ID is added to the array of delivered_ids
field. See the Messages model for more details. ApiKey {your_api_key}
. Must be used either QB-Token or Authorization.200
403
404