vegapokerbot/internal/handler/handler.go

20 lines
223 B
Go
Raw Normal View History

2024-05-07 22:07:53 +03:00
package handler
import (
"github.com/mymmrac/telego"
)
type Type uint8
const (
Noop Type = iota
Message
ChatMemberUpdated
CallbackQuery
InlineQuery
2024-05-07 22:07:53 +03:00
)
type Handler interface {
Handle(update telego.Update) error
}