Documentation ¶
Index ¶
- type NoopNotifier
- type Notifier
- type Telegram
- func (t *Telegram) GetSubscribedChats() (ids []int64)
- func (t *Telegram) OnFinish(item media.SearchItem) error
- func (t *Telegram) OnQueued(item media.SearchItem) error
- func (t *Telegram) RegisterChat(id int64) error
- func (t *Telegram) StartListener() error
- func (t *Telegram) UnregisterChat(id int64) error
- func (t *Telegram) UpdateSubscribers(text string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopNotifier ¶
type NoopNotifier struct { }
func (*NoopNotifier) OnFinish ¶
func (n *NoopNotifier) OnFinish(item media.SearchItem) error
func (*NoopNotifier) OnQueued ¶
func (n *NoopNotifier) OnQueued(item media.SearchItem) error
type Notifier ¶
type Notifier interface { OnQueued(item media.SearchItem) error OnFinish(item media.SearchItem) error }
type Telegram ¶
type Telegram struct {
// contains filtered or unexported fields
}
func (*Telegram) GetSubscribedChats ¶
func (*Telegram) RegisterChat ¶
func (*Telegram) StartListener ¶
func (*Telegram) UnregisterChat ¶
func (*Telegram) UpdateSubscribers ¶
Click to show internal directories.
Click to hide internal directories.