Serializes this as a JSON object.
this
@override Map<String, Object?> toJson() => { 'channelId': channelId, 'messageId': messageId, };