2
0
mirror of https://github.com/tdlib/telegram-bot-api synced 2025-08-22 01:49:24 +00:00

Add UniqueGiftInfo.next_transfer_date.

This commit is contained in:
levlam 2025-05-09 15:40:09 +03:00
parent 9d77921fe8
commit 0909fcf0a6

View File

@ -2380,6 +2380,9 @@ class Client::JsonUniqueGiftMessage final : public td::Jsonable {
object("owned_gift_id", gift_->received_gift_id_);
if (gift_->can_be_transferred_) {
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"));