Versions in this module Expand all Collapse all v0 v0.0.8 Mar 5, 2022 Changes in this version + type Bot struct + func NewBot(token string) (*Bot, error) + func (p *Bot) AddNode(sender *tb.User, message *tb.Message, body string, depth int) bool + func (p *Bot) Handle(endpoint interface{}, h tb.HandlerFunc, m ...tb.MiddlewareFunc) + func (p *Bot) Start() + type Init struct + func (p *Init) Init() (needRun bool, err error) + func (p *Init) Name() string + func (p *Init) WaitFinish()