Add chatEventLogFilters.forum_changes.
This commit is contained in:
parent
87b3d9415c
commit
6cff780af9
@ -3012,7 +3012,8 @@ chatEvents events:vector<chatEvent> = ChatEvents;
|
||||
//@setting_changes True, if changes in chat settings need to be returned
|
||||
//@invite_link_changes True, if changes to invite links need to be returned
|
||||
//@video_chat_changes True, if video chat actions need to be returned
|
||||
chatEventLogFilters message_edits:Bool message_deletions:Bool message_pins:Bool member_joins:Bool member_leaves:Bool member_invites:Bool member_promotions:Bool member_restrictions:Bool info_changes:Bool setting_changes:Bool invite_link_changes:Bool video_chat_changes:Bool = ChatEventLogFilters;
|
||||
//@forum_changes True, if forum-related actions need to be returned
|
||||
chatEventLogFilters message_edits:Bool message_deletions:Bool message_pins:Bool member_joins:Bool member_leaves:Bool member_invites:Bool member_promotions:Bool member_restrictions:Bool info_changes:Bool setting_changes:Bool invite_link_changes:Bool video_chat_changes:Bool forum_changes:Bool = ChatEventLogFilters;
|
||||
|
||||
|
||||
//@class LanguagePackStringValue @description Represents the value of a string in a language pack
|
||||
|
@ -537,6 +537,9 @@ static telegram_api::object_ptr<telegram_api::channelAdminLogEventsFilter> get_i
|
||||
if (filters->video_chat_changes_) {
|
||||
flags |= telegram_api::channelAdminLogEventsFilter::GROUP_CALL_MASK;
|
||||
}
|
||||
if (filters->forum_changes_) {
|
||||
flags |= telegram_api::channelAdminLogEventsFilter::FORUMS_MASK;
|
||||
}
|
||||
|
||||
return telegram_api::make_object<telegram_api::channelAdminLogEventsFilter>(
|
||||
flags, false /*ignored*/, false /*ignored*/, false /*ignored*/, false /*ignored*/, false /*ignored*/,
|
||||
|
Loading…
Reference in New Issue
Block a user