package
0.15.0
Repository: https://github.com/mr-linch/go-tg.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# 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.

NameDescriptionFeatures
calculatorInline Keyboard CalculatorRouter, Regexp filter, Button Layout
chat-type-filterHandle messages from different chats, in different handlersChatType filter
echo-botCopy original messages, with some special casesParseMode, Webhook Reply, File Uploading, Regexp filter
grayscale-imageBot grayscale user sended imageFile download, file upload, Message type filter, Custom filter
media-groupSend Media groupFile Uploading, Media Group, Regexp filter, Default handler
quote-botSearch via Inline ModeInline Mode, Inline Keyboard Markup
text-filterText Filter usageText filter, reply keyboard markup
webappsParse and validate Login Widget & WebApp data, host simple webappWebApps, Login Widget, Embed webhook to http.Mux
session-filterSimple form filling with persistent sessionRouter, Session Manager, Session Filters
menuHiearchical menu with API integrationButtonLayout, TextMessageBuilder, CallbackDataFilter
retry-floodRetry on flood errorInterceptors
business-botBusiness bot with multiple handlersRouter