Add telegram api

This commit is contained in:
9seconds
2019-09-09 10:25:38 +03:00
parent 2918ed11e5
commit 3816dbf5b1
9 changed files with 203 additions and 26 deletions
+2 -1
View File
@@ -5,13 +5,14 @@ import (
"go.uber.org/zap"
"github.com/9seconds/mtg/conntypes"
"github.com/9seconds/mtg/wrappers"
)
type TelegramRequest struct {
Logger *zap.SugaredLogger
ClientConn wrappers.StreamReadWriteCloser
ConnID wrappers.ConnID
ConnID conntypes.ConnID
Ctx context.Context
Cancel context.CancelFunc
ClientProtocol ClientProtocol