Add TransactionPartnerUser.paid_media_payload.

This commit is contained in:
levlam 2024-08-28 12:10:37 +03:00
parent dfe0dc9881
commit f8c757d07d

View File

@ -4148,6 +4148,9 @@ class Client::JsonStarTransactionPartner final : public td::Jsonable {
object("paid_media", td::json_array(purpose->media_, [client = client_](auto &media) { object("paid_media", td::json_array(purpose->media_, [client = client_](auto &media) {
return JsonPaidMedia(media.get(), client); return JsonPaidMedia(media.get(), client);
})); }));
if (!purpose->payload_.empty()) {
object("paid_media_payload", purpose->payload_);
}
break; break;
} }
default: default: