mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 15:54:03 +03:00
Direct proxy works
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package telegram
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/9seconds/mtg/conntypes"
|
||||
"github.com/9seconds/mtg/wrappers"
|
||||
)
|
||||
|
||||
type Telegram interface {
|
||||
Dial(context.Context,
|
||||
context.CancelFunc,
|
||||
conntypes.DC,
|
||||
conntypes.ConnectionProtocol) (wrappers.StreamReadWriteCloser, error)
|
||||
}
|
||||
Reference in New Issue
Block a user