subscribeSendMessageFailed method
Subscribes to all messages which couldn't be sent correctly (SendMessageFailed-Event).
The first passed Message is the original message and the second one is the exception during the sending process.
Implementation
void subscribeSendMessageFailed(Function(Message, Exception) callback) {
_callbacksSendMessageFailed.add(callback);
}