mirror of
https://github.com/PaiGramTeam/telegram-bot-api.git
synced 2024-11-16 12:51:24 +00: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();
|
auto object = scope->enter_object();
|
||||||
object("chat", JsonChat(update_->chat_id_, false, client_));
|
object("chat", JsonChat(update_->chat_id_, false, client_));
|
||||||
object("from", JsonUser(update_->request_->user_id_, client_));
|
object("from", JsonUser(update_->request_->user_id_, client_));
|
||||||
|
object("user_chat_id", update_->user_chat_id_);
|
||||||
object("date", update_->request_->date_);
|
object("date", update_->request_->date_);
|
||||||
if (!update_->request_->bio_.empty()) {
|
if (!update_->request_->bio_.empty()) {
|
||||||
object("bio", update_->request_->bio_);
|
object("bio", update_->request_->bio_);
|
||||||
|
Loading…
Reference in New Issue
Block a user