teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
SecureValue
Class SecureValue
Hierarchy (
View Summary
)
VirtualClass
<
{
data
?:
TypeSecureData
;
files
?:
TypeSecureFile
[]
;
frontSide
?:
TypeSecureFile
;
hash
:
bytes
;
plainData
?:
TypeSecurePlainData
;
reverseSide
?:
TypeSecureFile
;
selfie
?:
TypeSecureFile
;
translation
?:
TypeSecureFile
[]
;
type
:
TypeSecureValueType
;
}
,
>
SecureValue
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
data?
files?
front
Side?
hash
original
Args
plain
Data?
reverse
Side?
selfie?
SUBCLASS_
OF_
ID
translation?
type
Constructors
constructor
new
SecureValue
(
args
:
{
data
?:
SecureData
;
files
?:
TypeSecureFile
[]
;
frontSide
?:
TypeSecureFile
;
hash
:
bytes
;
plainData
?:
TypeSecurePlainData
;
reverseSide
?:
TypeSecureFile
;
selfie
?:
TypeSecureFile
;
translation
?:
TypeSecureFile
[]
;
type
:
TypeSecureValueType
;
}
,
)
:
SecureValue
Parameters
args
:
{
data
?:
SecureData
;
files
?:
TypeSecureFile
[]
;
frontSide
?:
TypeSecureFile
;
hash
:
bytes
;
plainData
?:
TypeSecurePlainData
;
reverseSide
?:
TypeSecureFile
;
selfie
?:
TypeSecureFile
;
translation
?:
TypeSecureFile
[]
;
type
:
TypeSecureValueType
;
}
Returns
SecureValue
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
SecureValue
Parameters
reader
:
any
Returns
SecureValue
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
()
:
{
data
?:
SecureData
;
files
?:
TypeSecureFile
[]
;
frontSide
?:
TypeSecureFile
;
hash
:
bytes
;
plainData
?:
TypeSecurePlainData
;
reverseSide
?:
TypeSecureFile
;
selfie
?:
TypeSecureFile
;
translation
?:
TypeSecureFile
[]
;
type
:
TypeSecureValueType
;
}
Returns
{
data
?:
SecureData
;
files
?:
TypeSecureFile
[]
;
frontSide
?:
TypeSecureFile
;
hash
:
bytes
;
plainData
?:
TypeSecurePlainData
;
reverseSide
?:
TypeSecureFile
;
selfie
?:
TypeSecureFile
;
translation
?:
TypeSecureFile
[]
;
type
:
TypeSecureValueType
;
}
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
:
"SecureValue"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
411017418
Optional
data
data
?:
SecureData
Optional
files
files
?:
TypeSecureFile
[]
Optional
front
Side
frontSide
?:
TypeSecureFile
hash
hash
:
bytes
original
Args
originalArgs
:
{
data
?:
SecureData
;
files
?:
TypeSecureFile
[]
;
frontSide
?:
TypeSecureFile
;
hash
:
bytes
;
plainData
?:
TypeSecurePlainData
;
reverseSide
?:
TypeSecureFile
;
selfie
?:
TypeSecureFile
;
translation
?:
TypeSecureFile
[]
;
type
:
TypeSecureValueType
;
}
Optional
plain
Data
plainData
?:
TypeSecurePlainData
Optional
reverse
Side
reverseSide
?:
TypeSecureFile
Optional
selfie
selfie
?:
TypeSecureFile
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
85014702
Optional
translation
translation
?:
TypeSecureFile
[]
type
type
:
TypeSecureValueType
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
data
files
front
Side
hash
original
Args
plain
Data
reverse
Side
selfie
SUBCLASS_
OF_
ID
translation
type
GitHub
npm
Issues
teleproto - v1.229.0
Loading...