Documentation ¶
Index ¶
- func AddCtx(ctx context.Context) telebot.MiddlewareFunc
- func AddLogger(next telebot.HandlerFunc) telebot.HandlerFunc
- func AddTag(tag string) telebot.MiddlewareFunc
- func Ctx(c telebot.Context) context.Context
- func EscapeMarkdownV2(s string) string
- func InviteCode() string
- func InviteUrl(username, code string) string
- func Lang(c telebot.Context) string
- func LogEvent(next telebot.HandlerFunc) telebot.HandlerFunc
- func Logger(c telebot.Context) *slog.Logger
- func MultiButtonMenu(arg ...string) *telebot.ReplyMarkup
- func NotifyTyping(ctx context.Context, c telebot.Context) context.CancelFunc
- func Sequential(keyFn func(c telebot.Context) string) telebot.MiddlewareFunc
- func SingleButtonMenu(id, text string) *telebot.ReplyMarkup
- func Tag(c telebot.Context) string
- func TakeMutex(m *sync.RWMutex) telebot.MiddlewareFunc
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapeMarkdownV2 ¶
func InviteCode ¶
func InviteCode() string
func MultiButtonMenu ¶
func MultiButtonMenu(arg ...string) *telebot.ReplyMarkup
func NotifyTyping ¶
func NotifyTyping(ctx context.Context, c telebot.Context) context.CancelFunc
func Sequential ¶
func Sequential(keyFn func(c telebot.Context) string) telebot.MiddlewareFunc
func SingleButtonMenu ¶
func SingleButtonMenu(id, text string) *telebot.ReplyMarkup
Types ¶
Click to show internal directories.
Click to hide internal directories.