telegram

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL