Add td_api::chatEventActiveUsernamesChanged.
This commit is contained in:
parent
9b0cea912a
commit
2d8d3716f9
|
@ -2927,6 +2927,9 @@ chatEventTitleChanged old_title:string new_title:string = ChatEventAction;
|
||||||
//@description The chat editable username was changed @old_username Previous chat username @new_username New chat username
|
//@description The chat editable username was changed @old_username Previous chat username @new_username New chat username
|
||||||
chatEventUsernameChanged old_username:string new_username:string = ChatEventAction;
|
chatEventUsernameChanged old_username:string new_username:string = ChatEventAction;
|
||||||
|
|
||||||
|
//@description The chat active usernames were changed @old_usernames Previous list of active usernames @new_usernames New list of active usernames
|
||||||
|
chatEventActiveUsernamesChanged old_usernames:vector<string> new_usernames:vector<string> = ChatEventAction;
|
||||||
|
|
||||||
//@description The has_protected_content setting of a channel was toggled @has_protected_content New value of has_protected_content
|
//@description The has_protected_content setting of a channel was toggled @has_protected_content New value of has_protected_content
|
||||||
chatEventHasProtectedContentToggled has_protected_content:Bool = ChatEventAction;
|
chatEventHasProtectedContentToggled has_protected_content:Bool = ChatEventAction;
|
||||||
|
|
||||||
|
|
|
@ -129,7 +129,8 @@ static td_api::object_ptr<td_api::ChatEventAction> get_chat_event_action_object(
|
||||||
}
|
}
|
||||||
case telegram_api::channelAdminLogEventActionChangeUsernames::ID: {
|
case telegram_api::channelAdminLogEventActionChangeUsernames::ID: {
|
||||||
auto action = move_tl_object_as<telegram_api::channelAdminLogEventActionChangeUsernames>(action_ptr);
|
auto action = move_tl_object_as<telegram_api::channelAdminLogEventActionChangeUsernames>(action_ptr);
|
||||||
return nullptr;
|
return td_api::make_object<td_api::chatEventActiveUsernamesChanged>(std::move(action->prev_value_),
|
||||||
|
std::move(action->new_value_));
|
||||||
}
|
}
|
||||||
case telegram_api::channelAdminLogEventActionChangePhoto::ID: {
|
case telegram_api::channelAdminLogEventActionChangePhoto::ID: {
|
||||||
auto action = move_tl_object_as<telegram_api::channelAdminLogEventActionChangePhoto>(action_ptr);
|
auto action = move_tl_object_as<telegram_api::channelAdminLogEventActionChangePhoto>(action_ptr);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user