teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
EncryptedFile
Class EncryptedFile
Hierarchy (
View Summary
)
VirtualClass
<
{
accessHash
:
long
;
dcId
:
int
;
id
:
long
;
keyFingerprint
:
int
;
size
:
long
;
}
,
>
EncryptedFile
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
access
Hash
class
Name
class
Type
CONSTRUCTOR_
ID
dc
Id
id
key
Fingerprint
original
Args
size
SUBCLASS_
OF_
ID
Constructors
constructor
new
EncryptedFile
(
args
:
{
accessHash
:
BigInteger
;
dcId
:
number
;
id
:
BigInteger
;
keyFingerprint
:
number
;
size
:
BigInteger
;
}
,
)
:
EncryptedFile
Parameters
args
:
{
accessHash
:
BigInteger
;
dcId
:
number
;
id
:
BigInteger
;
keyFingerprint
:
number
;
size
:
BigInteger
;
}
Returns
EncryptedFile
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
EncryptedFile
Parameters
reader
:
any
Returns
EncryptedFile
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
()
:
{
accessHash
:
BigInteger
;
dcId
:
number
;
id
:
BigInteger
;
keyFingerprint
:
number
;
size
:
BigInteger
;
}
Returns
{
accessHash
:
BigInteger
;
dcId
:
number
;
id
:
BigInteger
;
keyFingerprint
:
number
;
size
:
BigInteger
;
}
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
access
Hash
accessHash
:
BigInteger
class
Name
className
:
"EncryptedFile"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2818608344
dc
Id
dcId
:
number
id
id
:
BigInteger
key
Fingerprint
keyFingerprint
:
number
original
Args
originalArgs
:
{
accessHash
:
BigInteger
;
dcId
:
number
;
id
:
BigInteger
;
keyFingerprint
:
number
;
size
:
BigInteger
;
}
size
size
:
BigInteger
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2217371584
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
access
Hash
class
Name
class
Type
CONSTRUCTOR_
ID
dc
Id
id
key
Fingerprint
original
Args
size
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...