15 lines
355 B
Go
15 lines
355 B
Go
![]() |
package goboter
|
||
|
|
||
|
import "udico.de/goboter/telegram"
|
||
|
|
||
|
//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
|
||
|
}
|