bot-with-msg-self-delete

command
v0.16.13 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

README

This examples will delete its own messages after N seconds, as configured. This examples also showcases middlewares, as these might be of interest to keep your handlers as clean as possible. While they do add some extra code, they become easy to re-use and makes handler registration more readable.

Here global variables are used to store states, which I do currently consider a drawback of middlewares. But since it's easy to make

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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