onOfflineMessageSent property
Optional callback invoked by clients with an offline queue when a queued send completes after the connection is restored.
The callback receives the room id, the original optimistic temp id, and the server-confirmed message — use it to reconcile the optimistic bubble in your UI with the authoritative message. Clients that do not implement an offline queue may leave this as a no-op setter.
Implementation
@override
set onOfflineMessageSent(
void Function(String roomId, String tempId, ChatMessage message)? value,
) {}