Updates
- Expanded the callback method. Now it transmits the following information on message statuses:
- dialog ID and category for all statuses except DELIVERED and READ;
- dialog ID, category, and cost function for all DELIVERED and READ statuses.
- Updated the outgoing message status model:
- Added the NEW initial status: message not processed.
- Added support for the internal INVALID status: the cascade stage failed validation and the outgoing message wasn’t sent.
- Added the transition from the INVALID status (message not sent) to FAILED (validation or processing error).