menu

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserMenuWorkflow

type UserMenuWorkflow struct {
	// contains filtered or unexported fields
}

UserMenuWorkflow is workflow for /menu command.

func (*UserMenuWorkflow) Start

func (uw *UserMenuWorkflow) Start(bot *telebot.Bot) telebot.HandlerFunc

Start is a handler to start /menu workflow.

func (*UserMenuWorkflow) WithUseCases

func (uw *UserMenuWorkflow) WithUseCases(useCases *usecases.UseCases)

WithUseCases attaches workflow to functionality.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL