Add ChatMemberUpdated.via_join_request.

This commit is contained in:
levlam 2024-05-04 00:57:31 +03:00
parent 9f4e8eb867
commit 7febd857d6

View File

@ -3655,6 +3655,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_join_request_) {
object("via_join_request", td::JsonTrue());
}
if (update_->via_chat_folder_invite_link_) { if (update_->via_chat_folder_invite_link_) {
object("via_chat_folder_invite_link", td::JsonTrue()); object("via_chat_folder_invite_link", td::JsonTrue());
} }