mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-29 13:45:49 +01:00
Add ChatMemberUpdated.via_join_request.
This commit is contained in:
parent
9f4e8eb867
commit
7febd857d6
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user