mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 08:14:02 +03:00
Bugfix rpc handshake
This commit is contained in:
@@ -2,7 +2,6 @@ package mtproto
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"net"
|
||||
|
||||
"github.com/juju/errors"
|
||||
)
|
||||
@@ -19,7 +18,8 @@ type ConnectionOpts struct {
|
||||
DC int16
|
||||
ConnectionType ConnectionType
|
||||
ConnectionProto ConnectionProtocol
|
||||
ClientAddr *net.TCPAddr
|
||||
QuickAck bool
|
||||
SimpleAck bool
|
||||
}
|
||||
|
||||
// Different connection types which user requests from Telegram.
|
||||
|
||||
Reference in New Issue
Block a user