Update a dialog message.
Mark messages as delivered
1. Specify if you want to mark messages as delivered
Set a delivered
parameter to 1
to mark all messages as delivered.
2. Set the ID of the dialog
Set a 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
Enter an updated message text using the message
parameter.
2. Set the ID of the dialog
Set a chat_dialog_id
to refer to a specific dialog.
3. Set the ID of the message
Set the ID of the message to refer to a particular 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.
Set a read
parameter to 1
to mark all messages as read.
2. Set the ID of the dialog.
Set the 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
To execute a request on behalf of a specific user
3. Specify if you want to mark messages as delivered
Set a delivered
parameter to 1
to mark all messages as delivered.
4. Set the ID of the dialog
Set a 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
To execute a request on behalf of a specific user
3. Type an updated message
Enter an updated message text using the message
parameter.
4. Set the ID of the dialog
Set a chat_dialog_id
to refer to a specific dialog.
5. Set the ID of the message
Set the ID of the message to refer to a particular 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
To execute a request on behalf of a specific user.
3. Specify if you want to mark messages as read
Set a read
parameter to 1
to mark all messages as read.
4. Set the ID of the dialog.
Set the 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.
Set a read
parameter to 1
to mark all messages as read.
2. Set the ID of the dialog.
Set the chat_dialog_id
to refer to a specific dialog.
3. Don't set any message ID to the path
To mark all messages of specified dialog as read keep the path without message ID
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
Set a delivered
parameter to 1
to mark all messages as delivered.
2. Set the ID of the dialog
Set a chat_dialog_id
to refer to a specific dialog.
3. Don't set any message ID to the path
To mark all messages of specified dialog as delivered keep the path without message ID
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
A successful response
403
An error response
404
An error response
Update a dialog message.
Mark messages as delivered
1. Specify if you want to mark messages as delivered
Set a delivered
parameter to 1
to mark all messages as delivered.
2. Set the ID of the dialog
Set a 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
Enter an updated message text using the message
parameter.
2. Set the ID of the dialog
Set a chat_dialog_id
to refer to a specific dialog.
3. Set the ID of the message
Set the ID of the message to refer to a particular 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.
Set a read
parameter to 1
to mark all messages as read.
2. Set the ID of the dialog.
Set the 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
To execute a request on behalf of a specific user
3. Specify if you want to mark messages as delivered
Set a delivered
parameter to 1
to mark all messages as delivered.
4. Set the ID of the dialog
Set a 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
To execute a request on behalf of a specific user
3. Type an updated message
Enter an updated message text using the message
parameter.
4. Set the ID of the dialog
Set a chat_dialog_id
to refer to a specific dialog.
5. Set the ID of the message
Set the ID of the message to refer to a particular 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
To execute a request on behalf of a specific user.
3. Specify if you want to mark messages as read
Set a read
parameter to 1
to mark all messages as read.
4. Set the ID of the dialog.
Set the 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.
Set a read
parameter to 1
to mark all messages as read.
2. Set the ID of the dialog.
Set the chat_dialog_id
to refer to a specific dialog.
3. Don't set any message ID to the path
To mark all messages of specified dialog as read keep the path without message ID
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
Set a delivered
parameter to 1
to mark all messages as delivered.
2. Set the ID of the dialog
Set a chat_dialog_id
to refer to a specific dialog.
3. Don't set any message ID to the path
To mark all messages of specified dialog as delivered keep the path without message ID
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
A successful response
403
An error response
404
An error response