Add ChatMemberUpdated.via_chat_folder_invite_link.

This commit is contained in:
levlam 2023-04-07 14:55:58 +03:00
parent 38a11d1e1f
commit 9e87ac2bf9

View File

@ -2787,6 +2787,9 @@ class Client::JsonChatMemberUpdated final : public td::Jsonable {
if (update_->invite_link_ != nullptr) { if (update_->invite_link_ != nullptr) {
object("invite_link", JsonChatInviteLink(update_->invite_link_.get(), client_)); 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: private: