mirror of
https://github.com/tdlib/telegram-bot-api
synced 2025-08-22 09:57:44 +00:00
Add UniqueGiftInfo.next_transfer_date.
This commit is contained in:
parent
9d77921fe8
commit
0909fcf0a6
@ -2380,6 +2380,9 @@ class Client::JsonUniqueGiftMessage final : public td::Jsonable {
|
|||||||
object("owned_gift_id", gift_->received_gift_id_);
|
object("owned_gift_id", gift_->received_gift_id_);
|
||||||
if (gift_->can_be_transferred_) {
|
if (gift_->can_be_transferred_) {
|
||||||
object("transfer_star_count", gift_->transfer_star_count_);
|
object("transfer_star_count", gift_->transfer_star_count_);
|
||||||
|
if (gift_->next_transfer_date_ > 0) {
|
||||||
|
object("next_transfer_date", gift_->next_transfer_date_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
object("origin", gift_->is_upgrade_ ? td::Slice("upgrade") : td::Slice("transfer"));
|
object("origin", gift_->is_upgrade_ ? td::Slice("upgrade") : td::Slice("transfer"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user