Versions in this module Expand all Collapse all v0 v0.1.2 Feb 1, 2023 v0.1.1 Feb 1, 2023 Changes in this version + type Button struct + Data interface{} + IsReply bool + type Config struct + func (c *Config) Bool(k string) bool + func (c *Config) ChatID(k string) tele.ChatID + func (c *Config) Duration(k string) time.Duration + func (c *Config) Float(k string) float64 + func (c *Config) Floats(k string) (floats []float64) + func (c *Config) Get(k string) *Config + func (c *Config) Int(k string) int + func (c *Config) Int64(k string) int64 + func (c *Config) Int64s(k string) (ints []int64) + func (c *Config) Ints(k string) []int + func (c *Config) Slice(k string) (slice []*Config) + func (c *Config) String(k string) string + func (c *Config) Strings(k string) []string + func (c *Config) Unmarshal(v interface{}) error + func (c *Config) UnmarshalKey(k string, v interface{}) error + type DefaultLayout struct + func NewDefault(path, locale string, funcs ...template.FuncMap) (*DefaultLayout, error) + func (dlt *DefaultLayout) Button(k string, args ...interface{}) *tele.Btn + func (dlt *DefaultLayout) Callback(k string) tele.CallbackEndpoint + func (dlt *DefaultLayout) Markup(k string, args ...interface{}) *tele.ReplyMarkup + func (dlt *DefaultLayout) Middleware() tele.MiddlewareFunc + func (dlt *DefaultLayout) Result(k string, args ...interface{}) tele.Result + func (dlt *DefaultLayout) Settings() tele.Settings + func (dlt *DefaultLayout) Text(k string, args ...interface{}) string + type Layout struct + func New(path string, funcs ...template.FuncMap) (*Layout, error) + func (lt *Layout) Button(c tele.Context, k string, args ...interface{}) *tele.Btn + func (lt *Layout) ButtonLocale(locale, k string, args ...interface{}) *tele.Btn + func (lt *Layout) Callback(k string) tele.CallbackEndpoint + func (lt *Layout) Commands() (cmds []tele.Command) + func (lt *Layout) CommandsLocale(locale string, args ...interface{}) (cmds []tele.Command) + func (lt *Layout) Default(locale string) *DefaultLayout + func (lt *Layout) Locale(c tele.Context) (string, bool) + func (lt *Layout) Locales() []string + func (lt *Layout) Markup(c tele.Context, k string, args ...interface{}) *tele.ReplyMarkup + func (lt *Layout) MarkupLocale(locale, k string, args ...interface{}) *tele.ReplyMarkup + func (lt *Layout) Middleware(defaultLocale string, localeFunc ...LocaleFunc) tele.MiddlewareFunc + func (lt *Layout) Result(c tele.Context, k string, args ...interface{}) tele.Result + func (lt *Layout) ResultLocale(locale, k string, args ...interface{}) tele.Result + func (lt *Layout) SetLocale(c tele.Context, locale string) + func (lt *Layout) Settings() tele.Settings + func (lt *Layout) Text(c tele.Context, k string, args ...interface{}) string + func (lt *Layout) TextLocale(locale, k string, args ...interface{}) string + func (lt *Layout) UnmarshalYAML(data []byte) error + type LocaleFunc func(tele.Recipient) string + type Markup struct + ForceReply bool + OneTimeKeyboard bool + RemoveKeyboard bool + ResizeKeyboard *bool + Selective bool + type Result struct + Content ResultContent + Markup string + type ResultBase struct + Content ResultContent + type ResultContent map[string]interface + func (ResultContent) IsInputMessageContent() bool + type Settings struct + LocalesDir string + LongPoller *tele.LongPoller + ParseMode string + Token string + TokenEnv string + URL string + Updates int + Webhook *tele.Webhook