Add chatEventMemberJoinedByInviteLink.via_chat_filter_invite_link.
This commit is contained in:
parent
e50e3e0b3a
commit
b374eeb6e0
@ -3663,8 +3663,8 @@ chatEventPollStopped message:message = ChatEventAction;
|
||||
//@description A new member joined the chat
|
||||
chatEventMemberJoined = ChatEventAction;
|
||||
|
||||
//@description A new member joined the chat via an invite link @invite_link Invite link used to join the chat
|
||||
chatEventMemberJoinedByInviteLink invite_link:chatInviteLink = ChatEventAction;
|
||||
//@description A new member joined the chat via an invite link @invite_link Invite link used to join the chat @via_chat_filter_invite_link True, if the user has joined the chat using an invite link for a chat filter
|
||||
chatEventMemberJoinedByInviteLink invite_link:chatInviteLink via_chat_filter_invite_link:Bool = ChatEventAction;
|
||||
|
||||
//@description A new member was accepted to the chat by an administrator @approver_user_id User identifier of the chat administrator, approved user join request @invite_link Invite link used to join the chat; may be null
|
||||
chatEventMemberJoinedByRequest approver_user_id:int53 invite_link:chatInviteLink = ChatEventAction;
|
||||
|
@ -48,7 +48,7 @@ static td_api::object_ptr<td_api::ChatEventAction> get_chat_event_action_object(
|
||||
return nullptr;
|
||||
}
|
||||
return td_api::make_object<td_api::chatEventMemberJoinedByInviteLink>(
|
||||
invite_link.get_chat_invite_link_object(td->contacts_manager_.get()));
|
||||
invite_link.get_chat_invite_link_object(td->contacts_manager_.get()), action->via_chatlist_);
|
||||
}
|
||||
case telegram_api::channelAdminLogEventActionParticipantJoinByRequest::ID: {
|
||||
auto action = move_tl_object_as<telegram_api::channelAdminLogEventActionParticipantJoinByRequest>(action_ptr);
|
||||
|
Loading…
Reference in New Issue
Block a user