Add UniqueGift.is_from_blockchain.

main
levlam 8 months ago
parent 3c23f2e2e9
commit ab7f9c8376

@ -1455,6 +1455,9 @@ class Client::JsonUniqueGift final : public td::Jsonable {
if (gift_->colors_ != nullptr) { if (gift_->colors_ != nullptr) {
object("colors", JsonUniqueGiftColors(gift_->colors_.get())); object("colors", JsonUniqueGiftColors(gift_->colors_.get()));
} }
if (gift_->host_id_ != nullptr) {
object("is_from_blockchain", td::JsonTrue());
}
} }
private: private:

Loading…
Cancel
Save