From 4ba6d905fbc704e174086621547e8114993d5e21 Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 12 Oct 2025 02:49:06 +0300 Subject: [PATCH] Add Gift.has_colors. --- telegram-bot-api/Client.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/telegram-bot-api/Client.cpp b/telegram-bot-api/Client.cpp index 8f8ac92..126eace 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -1344,6 +1344,9 @@ class Client::JsonGift final : public td::Jsonable { if (gift_->is_premium_) { object("is_premium", td::JsonTrue()); } + if (gift_->has_colors_) { + object("has_colors", td::JsonTrue()); + } } private: