diff --git a/telegram-bot-api/Client.cpp b/telegram-bot-api/Client.cpp index 85175ec..f58d097 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -4282,6 +4282,9 @@ class Client::JsonStarTransactionPartner final : public td::Jsonable { object("invoice_payload", purpose->invoice_payload_); } } + if (purpose->period_ > 0) { + object("subscription_period", purpose->period_); + } break; } default: