Converts this object to TDLib JSON.
@override Map<String, dynamic> toJson() => { '@type': CONSTRUCTOR, 'updates': [for (final e in updates) e.toJson()], };