mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-22 10:37:47 +01:00
Add ChatJoinRequest.user_chat_id.
This commit is contained in:
parent
2c23688be6
commit
0bc181c216
@ -2725,6 +2725,7 @@ class Client::JsonChatJoinRequest final : public Jsonable {
|
||||
auto object = scope->enter_object();
|
||||
object("chat", JsonChat(update_->chat_id_, false, client_));
|
||||
object("from", JsonUser(update_->request_->user_id_, client_));
|
||||
object("user_chat_id", update_->user_chat_id_);
|
||||
object("date", update_->request_->date_);
|
||||
if (!update_->request_->bio_.empty()) {
|
||||
object("bio", update_->request_->bio_);
|
||||
|
Loading…
Reference in New Issue
Block a user