Documentation ¶
Index ¶
- type Fetcher
- func (fetcher *Fetcher) Fetch(ctx context.Context) <-chan multibot.Update
- func (fetcher *Fetcher) LongPoll(token string, offset int, timeout time.Duration) error
- func (fetcher *Fetcher) Webhook(token, webhookURLPrefix string, certFile interface{}) error
- func (fetcher *Fetcher) WithDebug(debug bool) *Fetcher
- type Notifier
- type Update
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
func NewFetcher ¶
func NewFetcher() *Fetcher
Click to show internal directories.
Click to hide internal directories.