teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
SecureFile
Class SecureFile
Hierarchy (
View Summary
)
VirtualClass
<
{
accessHash
:
long
;
date
:
int
;
dcId
:
int
;
fileHash
:
bytes
;
id
:
long
;
secret
:
bytes
;
size
:
long
;
}
,
>
SecureFile
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
date
dc
Id
file
Hash
id
original
Args
secret
size
SUBCLASS_
OF_
ID
Constructors
constructor
new
SecureFile
(
args
:
{
accessHash
:
BigInteger
;
date
:
number
;
dcId
:
number
;
fileHash
:
bytes
;
id
:
BigInteger
;
secret
:
bytes
;
size
:
BigInteger
;
}
,
)
:
SecureFile
Parameters
args
:
{
accessHash
:
BigInteger
;
date
:
number
;
dcId
:
number
;
fileHash
:
bytes
;
id
:
BigInteger
;
secret
:
bytes
;
size
:
BigInteger
;
}
Returns
SecureFile
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
SecureFile
Parameters
reader
:
any
Returns
SecureFile
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
;
date
:
number
;
dcId
:
number
;
fileHash
:
bytes
;
id
:
BigInteger
;
secret
:
bytes
;
size
:
BigInteger
;
}
Returns
{
accessHash
:
BigInteger
;
date
:
number
;
dcId
:
number
;
fileHash
:
bytes
;
id
:
BigInteger
;
secret
:
bytes
;
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
:
"SecureFile"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2097791614
date
date
:
number
dc
Id
dcId
:
number
file
Hash
fileHash
:
bytes
id
id
:
BigInteger
original
Args
originalArgs
:
{
accessHash
:
BigInteger
;
date
:
number
;
dcId
:
number
;
fileHash
:
bytes
;
id
:
BigInteger
;
secret
:
bytes
;
size
:
BigInteger
;
}
secret
secret
:
bytes
size
size
:
BigInteger
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1572395975
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
date
dc
Id
file
Hash
id
original
Args
secret
size
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...