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