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