Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Public = CommandScope{/* contains filtered or unexported fields */}
Functions ¶
func AddDefaultStart ¶
Types ¶
type CommandScope ¶
type CommandScope struct {
ChatIDs, UserIDs colf.Set[telegram.ID]
// contains filtered or unexported fields
}
func (CommandScope) Labels ¶
func (s CommandScope) Labels() me3x.Labels
func (CommandScope) String ¶ added in v0.10.5
func (s CommandScope) String() string
func (CommandScope) Transform ¶
func (s CommandScope) Transform(body func(scope telegram.BotCommandScope))
func (CommandScope) Wrap ¶
func (s CommandScope) Wrap(listener telegram.CommandListener) telegram.CommandListenerFunc
type Config ¶ added in v0.10.9
type Config struct {
Token string `yaml:"token" doc:"Telegram Bot API token."`
}
type Mixin ¶ added in v0.10.5
type Mixin[C Context] struct { // contains filtered or unexported fields }
func (*Mixin[C]) AfterInclude ¶ added in v0.10.5
type Scoped ¶
type Scoped interface {
CommandScope() CommandScope
}
Click to show internal directories.
Click to hide internal directories.