add framework
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-04-08 18:55:16 +07:00
parent 11d3adf8db
commit 4509aae6a8
10 changed files with 403 additions and 147 deletions
+11
View File
@@ -0,0 +1,11 @@
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))
}