Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { Name string `bson:"name" json:"name" yaml:"name"` Token string `bson:"token" json:"token" yaml:"token"` Target string `bson:"target" json:"target" yaml:"target"` // Optional: BaseURL defaults to https://api.telegram.org, and // a new [unconfigured] HTTP client is constructed if one is // not provided. BaseURL string `bson:"base_url" json:"base_url" yaml:"base_url"` Client *http.Client }
Options are used to configure a telegram sender.
Click to show internal directories.
Click to hide internal directories.