valera/internal/states/interface.go
FedorovVladimir 4509aae6a8
All checks were successful
continuous-integration/drone/push Build is passing
add framework
2023-04-08 18:55:16 +07:00

12 lines
218 B
Go

package states
import (
"net/http"
"valera/internal/db"
)
type BotState interface {
Do(text string, chatInfo *db.ChatInfo, username string) error
GetHandler() (string, func(http.ResponseWriter, *http.Request))
}