core.Map<core.String, core.dynamic> toJson() => { if (deletedMessageId != null) 'deletedMessageId': deletedMessageId!, };