Search
Preparing search index...
The search index is not available
telegram
Options
All
Public
Public/Protected
All
Inherited
Menu
telegram
Api
WebDocument
Class WebDocument
Hierarchy
VirtualClass
<
{
url
:
string
;
accessHash
:
long
;
size
:
int
;
mimeType
:
string
;
attributes
:
TypeDocumentAttribute
[]
}
>
WebDocument
Index
Properties
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
original
Args
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Type
class
Name
url
access
Hash
size
mime
Type
attributes
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
:
{
url
:
string
;
accessHash
:
BigInteger
;
size
:
number
;
mimeType
:
string
;
attributes
:
TypeDocumentAttribute
[]
}
Type declaration
url
:
string
access
Hash
:
BigInteger
size
:
number
mime
Type
:
string
attributes
:
TypeDocumentAttribute
[]
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
475467473
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
996419604
class
Type
class
Type
:
"constructor"
class
Name
class
Name
:
"WebDocument"
url
url
:
string
access
Hash
access
Hash
:
BigInteger
size
size
:
number
mime
Type
mime
Type
:
string
attributes
attributes
:
TypeDocumentAttribute
[]
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
(
)
:
{
url
:
string
;
accessHash
:
BigInteger
;
size
:
number
;
mimeType
:
string
;
attributes
:
TypeDocumentAttribute
[]
}
Returns
{
url
:
string
;
accessHash
:
BigInteger
;
size
:
number
;
mimeType
:
string
;
attributes
:
TypeDocumentAttribute
[]
}
url
:
string
access
Hash
:
BigInteger
size
:
number
mime
Type
:
string
attributes
:
TypeDocumentAttribute
[]
Static
from
Reader
from
Reader
(
reader
:
any
)
:
WebDocument
Parameters
reader:
any
Returns
WebDocument
Constructors
constructor
new
Web
Document
(
args
:
{
url
:
string
;
accessHash
:
BigInteger
;
size
:
number
;
mimeType
:
string
;
attributes
:
TypeDocumentAttribute
[]
}
)
:
WebDocument
Parameters
args:
{
url
:
string
;
accessHash
:
BigInteger
;
size
:
number
;
mimeType
:
string
;
attributes
:
TypeDocumentAttribute
[]
}
url
:
string
access
Hash
:
BigInteger
size
:
number
mime
Type
:
string
attributes
:
TypeDocumentAttribute
[]
Returns
WebDocument
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
Web
Document
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
url
access
Hash
size
mime
Type
attributes
Generated using
TypeDoc