teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
WebDocument
Class WebDocument
Hierarchy (
View Summary
)
VirtualClass
<
{
accessHash
:
long
;
attributes
:
TypeDocumentAttribute
[]
;
mimeType
:
string
;
size
:
int
;
url
:
string
;
}
,
>
WebDocument
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
attributes
class
Name
class
Type
CONSTRUCTOR_
ID
mime
Type
original
Args
size
SUBCLASS_
OF_
ID
url
Constructors
constructor
new
WebDocument
(
args
:
{
accessHash
:
BigInteger
;
attributes
:
TypeDocumentAttribute
[]
;
mimeType
:
string
;
size
:
number
;
url
:
string
;
}
,
)
:
WebDocument
Parameters
args
:
{
accessHash
:
BigInteger
;
attributes
:
TypeDocumentAttribute
[]
;
mimeType
:
string
;
size
:
number
;
url
:
string
;
}
Returns
WebDocument
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
WebDocument
Parameters
reader
:
any
Returns
WebDocument
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
;
attributes
:
TypeDocumentAttribute
[]
;
mimeType
:
string
;
size
:
number
;
url
:
string
;
}
Returns
{
accessHash
:
BigInteger
;
attributes
:
TypeDocumentAttribute
[]
;
mimeType
:
string
;
size
:
number
;
url
:
string
;
}
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
attributes
attributes
:
TypeDocumentAttribute
[]
class
Name
className
:
"WebDocument"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
475467473
mime
Type
mimeType
:
string
original
Args
originalArgs
:
{
accessHash
:
BigInteger
;
attributes
:
TypeDocumentAttribute
[]
;
mimeType
:
string
;
size
:
number
;
url
:
string
;
}
size
size
:
number
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
996419604
url
url
:
string
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
attributes
class
Name
class
Type
CONSTRUCTOR_
ID
mime
Type
original
Args
size
SUBCLASS_
OF_
ID
url
GitHub
npm
Issues
teleproto - v1.229.0
Loading...