github.com/tada-team/tdproto@v1.51.57/tdapi/chats.go (about) 1 package tdapi 2 3 type ChatFilter struct { 4 UserParams 5 Paginator 6 7 // ?unread_first=true|false (default: false) 8 UnreadFirst string `schema:"unread_first"` 9 10 // ?unread_only=true|false (default: false) 11 UnreadOnly string `schema:"unread_only"` 12 13 // ?hidden=true|false|any (default: false) 14 Hidden string `schema:"hidden"` 15 16 // ?feed=true|false|any (default: any) 17 Feed string `schema:"feed"` 18 19 // ?has_activity=true|false|any (default: any) 20 HasActivity string `schema:"has_activity"` 21 22 // ?chat_type=task,group,direct|any (default: any) 23 ChatType string `schema:"chat_type"` 24 25 // ?mix_contacts=true|false (default: false) 26 MixContacts string `schema:"mix_contacts"` 27 28 // ?sort = [ "group_chat_display_name" | "-group_chat_display_name" | "last_message" | "-last_message" ] 29 Sort string `schema:"sort"` 30 31 // ?q=search-text 32 Q string `schema:"q"` 33 34 // gentime great than 35 GentimeGT int64 `schema:"gentime_gt"` 36 37 // deprecated 38 HiddenOnly string `schema:"hidden_only"` 39 40 // deprecated: use ?has_activity= 41 HasMessages string `schema:"has_messages"` 42 }