Skip to content

Commit

Permalink
more chat filters
Browse files Browse the repository at this point in the history
  • Loading branch information
sdfsdhgjkbmnmxc committed Jan 29, 2021
1 parent bf866cf commit 73291cb
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tdapi/chats.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@ type ChatFilter struct {
// ?unread_only=true|false (default: false)
UnreadOnly string `schema:"unread_only"`

// ?hidden_only=true|false (default: false)
HiddenOnly string `schema:"hidden_only"`
// ?hidden=true|false|any (default: any)
Hidden string `schema:"hidden"`

// ?feed=true|false|any (default: any)
Feed string `schema:"feed"`

// ?has_messages=true|false|any (default: any)
HasMessages string `schema:"has_messages"`

// ?chat_type=task,group,direct|any (default: any)
ChatType string `schema:"chat_type"`
Expand All @@ -27,4 +33,7 @@ type ChatFilter struct {

// gentime great than
GentimeGT int64 `schema:"gentime_gt"`

// deprecated
HiddenOnly string `schema:"hidden_only"`
}

0 comments on commit 73291cb

Please sign in to comment.