subscribeSendMessageSucceeded method

void subscribeSendMessageSucceeded(
  1. dynamic callback(
    1. Message
    )
)

Subscribes to all received messages which can't be parsed correctly (SendMessageSucceeded-Event).

The first passed String is the original message and the second one is a textual representation of the error during the parsing process.

Implementation

void subscribeSendMessageSucceeded(Function(Message) callback) {
  _callbacksSendMessageSucceeded.add(callback);
}