From c31494131735db064f31134c3938e6923bb20cf8 Mon Sep 17 00:00:00 2001 From: Martin Kraft Date: Thu, 12 Jan 2023 13:47:35 -0500 Subject: [PATCH] Adds description of some channel searching options. (#22009) Co-authored-by: Mattermost Build --- model/channel.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/channel.go b/model/channel.go index 29f2b9ab8c..0ca11c75e6 100644 --- a/model/channel.go +++ b/model/channel.go @@ -160,7 +160,7 @@ type ChannelModeratedRolesPatch struct { type ChannelSearchOpts struct { NotAssociatedToGroup string ExcludeDefaultChannels bool - IncludeDeleted bool + IncludeDeleted bool // If true, deleted channels will be included in the results. Deleted bool ExcludeChannelNames []string TeamIds []string @@ -174,7 +174,7 @@ type ChannelSearchOpts struct { Private bool Page *int PerPage *int - LastDeleteAt int + LastDeleteAt int // When combined with IncludeDeleted, only channels deleted after this time will be returned. LastUpdateAt int }