mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-09-10 08:26:28 +02: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