Documentation ¶
Index ¶
- type AuthorizedChats
- type AuthorizedUsers
- type Extension
- type Instance
- func (app *Instance) ApplyExtensions(extensions ...Extension)
- func (app *Instance) GetBot(ctx context.Context) (*telegram.Bot, error)
- func (app *Instance) GetControlButtons() *core.ControlButtons
- func (app *Instance) GetDatabase(conn string) (*gorm.DB, error)
- func (app *Instance) Run(ctx context.Context) error
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizedChats ¶
type AuthorizedChats interface {
AuthorizedChatIDs() map[telegram.ID]bool
}
type AuthorizedUsers ¶
type AuthorizedUsers interface {
AuthorizedUserIDs() map[telegram.ID]bool
}
type Instance ¶
func (*Instance) ApplyExtensions ¶
func (*Instance) GetControlButtons ¶
func (app *Instance) GetControlButtons() *core.ControlButtons
Click to show internal directories.
Click to hide internal directories.