onMessageExpansionUpdate

public abstract void onMessageExpansionUpdate(Map<String, String> expansion, Message message)

Callback for message extension information changes

The `expansion` parameter only contains the updated key-value pairs, not the complete data. To retrieve all key-value pairs, use the `expansion` property of the `message` object.

Parameters

expansion

Updated key-value pairs in the message extension information

message

The message object