# README
All examples has one required argument -token
.
By default, bots is running in a long poll mode.
If you want to run in a webhook mode, you can use the -webhook-url
flag.
Listen port set to :8000
by default, you can override it with the -webhook-listen
flag.
Name | Description | Features |
---|---|---|
calculator | Inline Keyboard Calculator | Router, Regexp filter, Button Layout |
chat-type-filter | Handle messages from different chats, in different handlers | ChatType filter |
echo-bot | Copy original messages, with some special cases | ParseMode, Webhook Reply, File Uploading, Regexp filter |
grayscale-image | Bot grayscale user sended image | File download, file upload, Message type filter, Custom filter |
media-group | Send Media group | File Uploading, Media Group, Regexp filter, Default handler |
quote-bot | Search via Inline Mode | Inline Mode, Inline Keyboard Markup |
text-filter | Text Filter usage | Text filter, reply keyboard markup |
webapps | Parse and validate Login Widget & WebApp data, host simple webapp | WebApps, Login Widget, Embed webhook to http.Mux |
session-filter | Simple form filling with persistent session | Router, Session Manager, Session Filters |
menu | Hiearchical menu with API integration | ButtonLayout, TextMessageBuilder, CallbackDataFilter |
retry-flood | Retry on flood error | Interceptors |
business-bot | Business bot with multiple handlers | Router |
# Packages
Package contains simple echo bot, that demonstrates how to use handlers, filters and file uploads.
Package contains example of using tgb.ChatType filter.
Package contains example of using tgb.ChatType filter.
Package contains simple echo bot, that demonstrates how to use handlers, filters and file uploads.
No description provided by the author
Package contains example of using tgb.ChatType filter.
Package contains simple echo bot, that demonstrates how to use handlers, filters and file uploads.
Package contains example of using tgb.ChatType filter.
No description provided by the author
Package contains simple echo bot, that demonstrates how to use handlers, filters and file uploads.
No description provided by the author
Package contains example of using tgb.ChatType filter.
# Functions
Run runs bot with given router.