Documentation ¶ Index ¶ type Bot func NewBot(tok string) (*Bot, error) func NewBotWithCamera(tok string, cam camera.Camera) (*Bot, error) func (b *Bot) Send(m bot.Message) error func (b *Bot) SendTo(usr int, m bot.Message) error func (b *Bot) Setup(bc bot.BotConfig) error func (b *Bot) Start() error type UserInfo 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(tok string) (*Bot, error) func NewBotWithCamera ¶ added in v1.2.0 func NewBotWithCamera(tok string, cam camera.Camera) (*Bot, error) func (*Bot) Send ¶ func (b *Bot) Send(m bot.Message) error func (*Bot) SendTo ¶ added in v1.2.0 func (b *Bot) SendTo(usr int, m bot.Message) error func (*Bot) Setup ¶ func (b *Bot) Setup(bc bot.BotConfig) error func (*Bot) Start ¶ func (b *Bot) Start() error type UserInfo ¶ type UserInfo struct { // contains filtered or unexported fields } Source Files ¶ View all Source files telegram_bot.go Click to show internal directories. Click to hide internal directories.