teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
upload
File
Class File
Hierarchy (
View Summary
)
VirtualClass
<
{
bytes
:
bytes
;
mtime
:
int
;
type
:
TypeFileType
}
>
File
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
bytes
class
Name
class
Type
CONSTRUCTOR_
ID
mtime
original
Args
SUBCLASS_
OF_
ID
type
Constructors
constructor
new
File
(
args
:
{
bytes
:
bytes
;
mtime
:
number
;
type
:
TypeFileType
}
)
:
File
Parameters
args
:
{
bytes
:
bytes
;
mtime
:
number
;
type
:
TypeFileType
}
Returns
File
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
File
Parameters
reader
:
any
Returns
File
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
()
:
{
bytes
:
bytes
;
mtime
:
number
;
type
:
TypeFileType
}
Returns
{
bytes
:
bytes
;
mtime
:
number
;
type
:
TypeFileType
}
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
bytes
bytes
:
bytes
class
Name
className
:
"upload.File"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
157948117
mtime
mtime
:
number
original
Args
originalArgs
:
{
bytes
:
bytes
;
mtime
:
number
;
type
:
TypeFileType
}
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1822152488
type
type
:
TypeFileType
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
bytes
class
Name
class
Type
CONSTRUCTOR_
ID
mtime
original
Args
SUBCLASS_
OF_
ID
type
GitHub
npm
Issues
teleproto - v1.229.0
Loading...