valera/internal/states/interface.go

12 lines
201 B
Go
Raw Normal View History

2023-04-08 11:55:16 +00:00
package states
import (
"net/http"
"valera/internal/db"
)
type BotState interface {
2023-04-09 07:47:38 +00:00
Do(text string, chatInfo *db.ChatInfo) error
2023-04-08 11:55:16 +00:00
GetHandler() (string, func(http.ResponseWriter, *http.Request))
}