Skip to content

Commit

Permalink
has_messages -> has_activity
Browse files Browse the repository at this point in the history
  • Loading branch information
sdfsdhgjkbmnmxc committed Feb 26, 2021
1 parent 4a301f3 commit 9a0060d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tdapi/chats.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ type ChatFilter struct {
// ?feed=true|false|any (default: any)
Feed string `schema:"feed"`

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

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

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

// deprecated: use ?has_activity=
HasMessages string `schema:"has_messages"`
}

0 comments on commit 9a0060d

Please sign in to comment.