Documentation
¶
Index ¶
- type Action
- type Criteria
- type Filter
- type Opt
- func AddLabelIds(v []string) Opt
- func ExcludeChats(v bool) Opt
- func Forward(v string) Opt
- func From(v string) Opt
- func HasAttachment(v bool) Opt
- func NegatedQuery(v string) Opt
- func Query(v string) Opt
- func RemoveLabelIds(v []string) Opt
- func Size(v int) Opt
- func SizeComparison(v string) Opt
- func Subject(v string) Opt
- func To(v string) Opt
- type Opts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Criteria ¶
type Criteria struct { From string `json:"from,omitempty"` To string `json:"to,omitempty"` Subject string `json:"subject,omitempty"` Query string `json:"query,omitempty"` NegatedQuery string `json:"negatedQuery,omitempty"` HasAttachment *bool `json:"hasAttachment,omitempty"` ExcludeChats *bool `json:"excludeChats,omitempty"` Size *int `json:"size,omitempty"` SizeComparison string `json:"sizeComparison,omitempty"` }
type Filter ¶
type Opt ¶
func AddLabelIds ¶
func ExcludeChats ¶
func HasAttachment ¶
func NegatedQuery ¶
func RemoveLabelIds ¶
func SizeComparison ¶
Click to show internal directories.
Click to hide internal directories.