Search
Preparing search index...
The search index is not available
telegram
Options
All
Public
Public/Protected
All
Inherited
Menu
telegram
Api
SecureData
Class SecureData
Hierarchy
VirtualClass
<
{
data
:
bytes
;
dataHash
:
bytes
;
secret
:
bytes
}
>
SecureData
Index
Properties
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
original
Args
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Type
class
Name
data
data
Hash
secret
Methods
serialize
Bytes
serialize
Date
get
Bytes
toJSON
from
Reader
Constructors
constructor
Properties
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
number
Static
class
Name
class
Name
:
string
Static
class
Type
class
Type
:
"constructor"
|
"request"
original
Args
original
Args
:
{
data
:
Buffer
;
dataHash
:
Buffer
;
secret
:
Buffer
}
Type declaration
data
:
Buffer
data
Hash
:
Buffer
secret
:
Buffer
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
2330640067
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
2094276276
class
Type
class
Type
:
"constructor"
class
Name
class
Name
:
"SecureData"
data
data
:
Buffer
data
Hash
data
Hash
:
Buffer
secret
secret
:
Buffer
Methods
Static
serialize
Bytes
serialize
Bytes
(
data
:
string
|
Buffer
)
:
Buffer
Parameters
data:
string
|
Buffer
Returns
Buffer
Static
serialize
Date
serialize
Date
(
date
:
number
|
Date
)
:
Buffer
Parameters
date:
number
|
Date
Returns
Buffer
get
Bytes
get
Bytes
(
)
:
Buffer
Returns
Buffer
toJSON
toJSON
(
)
:
{
data
:
Buffer
;
dataHash
:
Buffer
;
secret
:
Buffer
}
Returns
{
data
:
Buffer
;
dataHash
:
Buffer
;
secret
:
Buffer
}
data
:
Buffer
data
Hash
:
Buffer
secret
:
Buffer
Static
from
Reader
from
Reader
(
reader
:
any
)
:
SecureData
Parameters
reader:
any
Returns
SecureData
Constructors
constructor
new
Secure
Data
(
args
:
{
data
:
Buffer
;
dataHash
:
Buffer
;
secret
:
Buffer
}
)
:
SecureData
Parameters
args:
{
data
:
Buffer
;
dataHash
:
Buffer
;
secret
:
Buffer
}
data
:
Buffer
data
Hash
:
Buffer
secret
:
Buffer
Returns
SecureData
Exports
helpers
password
utils
client
errors
extensions
sessions
Api
storage
auth
contacts
messages
updates
photos
upload
help
account
channels
payments
phone
stats
stickers
users
chatlists
bots
stories
premium
langpack
folders
tl
custom
Secure
Data
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
serialize
Bytes
serialize
Date
get
Bytes
constructor
original
Args
toJSON
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Type
class
Name
from
Reader
data
data
Hash
secret
Generated using
TypeDoc