teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
PhoneConnection
Class PhoneConnection
Hierarchy (
View Summary
)
VirtualClass
<
{
id
:
long
;
ip
:
string
;
ipv6
:
string
;
peerTag
:
bytes
;
port
:
int
;
tcp
?:
boolean
;
}
,
>
PhoneConnection
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
id
ip
ipv6
original
Args
peer
Tag
port
SUBCLASS_
OF_
ID
tcp?
Constructors
constructor
new
PhoneConnection
(
args
:
{
id
:
BigInteger
;
ip
:
string
;
ipv6
:
string
;
peerTag
:
bytes
;
port
:
number
;
tcp
?:
boolean
;
}
,
)
:
PhoneConnection
Parameters
args
:
{
id
:
BigInteger
;
ip
:
string
;
ipv6
:
string
;
peerTag
:
bytes
;
port
:
number
;
tcp
?:
boolean
;
}
Returns
PhoneConnection
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
PhoneConnection
Parameters
reader
:
any
Returns
PhoneConnection
Static
serialize
Bytes
serializeBytes
(
data
:
string
|
Buffer
<
ArrayBufferLike
>
)
:
Buffer
Parameters
data
:
string
|
Buffer
<
ArrayBufferLike
>
Returns
Buffer
Static
serialize
Date
serializeDate
(
date
:
number
|
Date
)
:
Buffer
Parameters
date
:
number
|
Date
Returns
Buffer
get
Bytes
getBytes
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
id
:
BigInteger
;
ip
:
string
;
ipv6
:
string
;
peerTag
:
bytes
;
port
:
number
;
tcp
?:
boolean
;
}
Returns
{
id
:
BigInteger
;
ip
:
string
;
ipv6
:
string
;
peerTag
:
bytes
;
port
:
number
;
tcp
?:
boolean
;
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"constructor"
|
"request"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
class
Name
className
:
"PhoneConnection"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2629903303
id
id
:
BigInteger
ip
ip
:
string
ipv6
ipv6
:
string
original
Args
originalArgs
:
{
id
:
BigInteger
;
ip
:
string
;
ipv6
:
string
;
peerTag
:
bytes
;
port
:
number
;
tcp
?:
boolean
;
}
peer
Tag
peerTag
:
bytes
port
port
:
number
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2861425677
Optional
tcp
tcp
?:
boolean
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
id
ip
ipv6
original
Args
peer
Tag
port
SUBCLASS_
OF_
ID
tcp
GitHub
npm
Issues
teleproto - v1.229.0
Loading...