Documentation ¶
Index ¶
- type Bot
- func (b *Bot) Post(message string, nsfw bool) error
- func (b *Bot) RegisterCallback(t callback.Type, cb callback.Callback) (id int)
- func (b *Bot) Reply(tweet anaconda.Tweet, message string, nsfw bool) error
- func (b *Bot) ScreenName() string
- func (b *Bot) Start() error
- func (b *Bot) Stop() error
- func (b *Bot) UnregisterCallback(t callback.Type, id int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
func NewBot ¶
func NewBot(screenName string, consumerConfig twitter.ConsumerConfig, accessConfig twitter.AccessConfig) Bot
func (*Bot) RegisterCallback ¶
func (*Bot) ScreenName ¶
Click to show internal directories.
Click to hide internal directories.