From 9e87ac2bf946ccf246fd2bb444c37284e07e2b8d Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 7 Apr 2023 14:55:58 +0300 Subject: [PATCH] Add ChatMemberUpdated.via_chat_folder_invite_link. --- 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 b55ca6b..b0dc3df 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -2787,6 +2787,9 @@ class Client::JsonChatMemberUpdated final : public td::Jsonable { if (update_->invite_link_ != nullptr) { object("invite_link", JsonChatInviteLink(update_->invite_link_.get(), client_)); } + if (update_->via_chat_folder_invite_link_) { + object("via_chat_folder_invite_link", td::JsonTrue()); + } } private: