tgbot

package module
v0.0.0-...-e6350f6 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Errors tErrors

Errors is a storage of all SDK errors grouped by SDK classes.

All these errors are instances of a special its types, and implements Golang error iface and iError.

You can read more about what these errors represents from doc to their storage types (all errors of some type has its type's errors storage). Read these field's types docs.

View Source
var Params tParams

Params is a storage of all SDK params grouped by SDK types.

Param is a special type - an alias of function that takes some type by its pointer and changes behaviour into taken object.

You can read more about what these params do from doc to the their types (all parameters of some type has its type's params storage). Read these field's types docs.

Functions

This section is empty.

Types

type TBot

type TBot struct {
	// contains filtered or unexported fields
}

func New

func New() *TBot

func (*TBot) ExtendContext

func (b *TBot) ExtendContext(extender interface{}) error

func (*TBot) Restart

func (b *TBot) Restart() error

func (*TBot) Run

func (b *TBot) Run() error

func (*TBot) Stop

func (b *TBot) Stop() error

Directories

Path Synopsis
core
ctx
modules

Jump to

Keyboard shortcuts

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