teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
upload
FileCdnRedirect
Class FileCdnRedirect
Hierarchy (
View Summary
)
VirtualClass
<
{
dcId
:
int
;
encryptionIv
:
bytes
;
encryptionKey
:
bytes
;
fileHashes
:
TypeFileHash
[]
;
fileToken
:
bytes
;
}
,
>
FileCdnRedirect
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
dc
Id
encryption
Iv
encryption
Key
file
Hashes
file
Token
original
Args
SUBCLASS_
OF_
ID
Constructors
constructor
new
FileCdnRedirect
(
args
:
{
dcId
:
number
;
encryptionIv
:
bytes
;
encryptionKey
:
bytes
;
fileHashes
:
FileHash
[]
;
fileToken
:
bytes
;
}
,
)
:
FileCdnRedirect
Parameters
args
:
{
dcId
:
number
;
encryptionIv
:
bytes
;
encryptionKey
:
bytes
;
fileHashes
:
FileHash
[]
;
fileToken
:
bytes
;
}
Returns
FileCdnRedirect
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
FileCdnRedirect
Parameters
reader
:
any
Returns
FileCdnRedirect
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
()
:
{
dcId
:
number
;
encryptionIv
:
bytes
;
encryptionKey
:
bytes
;
fileHashes
:
FileHash
[]
;
fileToken
:
bytes
;
}
Returns
{
dcId
:
number
;
encryptionIv
:
bytes
;
encryptionKey
:
bytes
;
fileHashes
:
FileHash
[]
;
fileToken
:
bytes
;
}
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
:
"upload.FileCdnRedirect"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
4052539972
dc
Id
dcId
:
number
encryption
Iv
encryptionIv
:
bytes
encryption
Key
encryptionKey
:
bytes
file
Hashes
fileHashes
:
FileHash
[]
file
Token
fileToken
:
bytes
original
Args
originalArgs
:
{
dcId
:
number
;
encryptionIv
:
bytes
;
encryptionKey
:
bytes
;
fileHashes
:
FileHash
[]
;
fileToken
:
bytes
;
}
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1822152488
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
dc
Id
encryption
Iv
encryption
Key
file
Hashes
file
Token
original
Args
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...