2020-10-28 11:24:24 +01:00
|
|
|
package goboter
|
|
|
|
|
2020-10-28 11:30:45 +01:00
|
|
|
import "udico.de/uditaren/goboter/telegram"
|
2020-10-28 11:24:24 +01:00
|
|
|
|
|
|
|
//go:generate protoc -I proto/ proto/telegram.proto proto/telegram_response.proto proto/telegram_calls.proto --go_out=telegram
|
|
|
|
|
|
|
|
|
|
|
|
func NewTelegramBot(apikey, useragent string) *telegram.Bot {
|
|
|
|
return telegram.New(apikey, useragent)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mock!:q
|
|
|
|
func NewDiscordBot(token, useragent string) {
|
|
|
|
// dummy
|
|
|
|
}
|