Reuse chatJoinRequest class.
This commit is contained in:
parent
32a2e51235
commit
5a596fcc48
@ -3947,9 +3947,8 @@ updatePollAnswer poll_id:int64 user_id:int53 option_ids:vector<int32> = Update;
|
||||
//@old_chat_member Previous chat member @new_chat_member New chat member
|
||||
updateChatMember chat_id:int53 actor_user_id:int53 date:int32 invite_link:chatInviteLink old_chat_member:chatMember new_chat_member:chatMember = Update;
|
||||
|
||||
//@description A user sent a join request to a chat; for bots only @chat_id Chat identifier @user_id Identifier of the user, which sent the join request
|
||||
//@bio A short user bio @date Point in time (Unix timestamp) when the request was sent @invite_link The invite link, which was used to send join request; may be null
|
||||
updateNewChatJoinRequest chat_id:int53 user_id:int53 bio:string date:int32 invite_link:chatInviteLink = Update;
|
||||
//@description A user sent a join request to a chat; for bots only @chat_id Chat identifier @request Join request @invite_link The invite link, which was used to send join request; may be null
|
||||
updateNewChatJoinRequest chat_id:int53 request:chatJoinRequest invite_link:chatInviteLink = Update;
|
||||
|
||||
|
||||
//@description Contains a list of updates @updates List of updates
|
||||
|
@ -13754,7 +13754,9 @@ void ContactsManager::on_update_chat_invite_requester(DialogId dialog_id, UserId
|
||||
|
||||
send_closure(G()->td(), &Td::send_update,
|
||||
td_api::make_object<td_api::updateNewChatJoinRequest>(
|
||||
dialog_id.get(), get_user_id_object(user_id, "on_update_chat_invite_requester"), about, date,
|
||||
dialog_id.get(),
|
||||
td_api::make_object<td_api::chatJoinRequest>(
|
||||
get_user_id_object(user_id, "on_update_chat_invite_requester"), date, about),
|
||||
invite_link.get_chat_invite_link_object(this)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user