Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheQuery ¶
func CacheQuery(store *cache.Cache) telebot.MiddlewareFunc
CacheQuery is a middleware that caches the result of the handler.
func MinQueryLength ¶
func MinQueryLength(length int) telebot.MiddlewareFunc
MinQueryLength is the minimum length of the query to be considered.
Types ¶
type Telegram ¶
type Telegram struct {
// contains filtered or unexported fields
}
func (*Telegram) RegisterMiddlewares ¶
func (t *Telegram) RegisterMiddlewares()
RegisterMiddlewares registers all middlewares
Click to show internal directories.
Click to hide internal directories.