Archived
1
This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
i2_bot/lib/router/routerinterface/routerinterface.go

18 lines
429 B
Go
Raw Normal View History

2017-10-04 17:56:18 +04:00
// i2_bot Instinct PokememBro Bot
// Copyright (c) 2017-2018 Vladimir "fat0troll" Hodakov
2017-10-04 17:56:18 +04:00
package routerinterface
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
2017-10-04 17:56:18 +04:00
)
// RouterInterface implements Router for importing via appcontext.
2017-10-04 17:56:18 +04:00
type RouterInterface interface {
2017-10-18 07:03:34 +04:00
Init()
RouteCallback(update tgbotapi.Update) string
RouteInline(update tgbotapi.Update) string
RouteRequest(update tgbotapi.Update) string
2017-10-04 17:56:18 +04:00
}