mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-24 19:55:52 +01:00
Add TransactionPartnerUser.paid_media_payload.
This commit is contained in:
parent
dfe0dc9881
commit
f8c757d07d
@ -4148,6 +4148,9 @@ class Client::JsonStarTransactionPartner final : public td::Jsonable {
|
||||
object("paid_media", td::json_array(purpose->media_, [client = client_](auto &media) {
|
||||
return JsonPaidMedia(media.get(), client);
|
||||
}));
|
||||
if (!purpose->payload_.empty()) {
|
||||
object("paid_media_payload", purpose->payload_);
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user