Add td_api::chatEventShowMessageSenderToggled.
This commit is contained in:
parent
934548dffe
commit
5a99625f90
@ -5340,6 +5340,9 @@ chatEventHasAggressiveAntiSpamEnabledToggled has_aggressive_anti_spam_enabled:Bo
|
|||||||
//@description The sign_messages setting of a channel was toggled @sign_messages New value of sign_messages
|
//@description The sign_messages setting of a channel was toggled @sign_messages New value of sign_messages
|
||||||
chatEventSignMessagesToggled sign_messages:Bool = ChatEventAction;
|
chatEventSignMessagesToggled sign_messages:Bool = ChatEventAction;
|
||||||
|
|
||||||
|
//@description The show_message_sender setting of a channel was toggled @show_message_sender New value of show_message_sender
|
||||||
|
chatEventShowMessageSenderToggled show_message_sender:Bool = ChatEventAction;
|
||||||
|
|
||||||
//@description A chat invite link was edited @old_invite_link Previous information about the invite link @new_invite_link New information about the invite link
|
//@description A chat invite link was edited @old_invite_link Previous information about the invite link @new_invite_link New information about the invite link
|
||||||
chatEventInviteLinkEdited old_invite_link:chatInviteLink new_invite_link:chatInviteLink = ChatEventAction;
|
chatEventInviteLinkEdited old_invite_link:chatInviteLink new_invite_link:chatInviteLink = ChatEventAction;
|
||||||
|
|
||||||
|
@ -166,7 +166,8 @@ static td_api::object_ptr<td_api::ChatEventAction> get_chat_event_action_object(
|
|||||||
return td_api::make_object<td_api::chatEventSignMessagesToggled>(action->new_value_);
|
return td_api::make_object<td_api::chatEventSignMessagesToggled>(action->new_value_);
|
||||||
}
|
}
|
||||||
case telegram_api::channelAdminLogEventActionToggleSignatureProfiles::ID: {
|
case telegram_api::channelAdminLogEventActionToggleSignatureProfiles::ID: {
|
||||||
return nullptr;
|
auto action = move_tl_object_as<telegram_api::channelAdminLogEventActionToggleSignatureProfiles>(action_ptr);
|
||||||
|
return td_api::make_object<td_api::chatEventShowMessageSenderToggled>(action->new_value_);
|
||||||
}
|
}
|
||||||
case telegram_api::channelAdminLogEventActionUpdatePinned::ID: {
|
case telegram_api::channelAdminLogEventActionUpdatePinned::ID: {
|
||||||
auto action = move_tl_object_as<telegram_api::channelAdminLogEventActionUpdatePinned>(action_ptr);
|
auto action = move_tl_object_as<telegram_api::channelAdminLogEventActionUpdatePinned>(action_ptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user