teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
Page
Class Page
Hierarchy (
View Summary
)
VirtualClass
<
{
blocks
:
TypePageBlock
[]
;
documents
:
TypeDocument
[]
;
part
?:
boolean
;
photos
:
Api
.
TypePhoto
[]
;
rtl
?:
boolean
;
url
:
string
;
v2
?:
boolean
;
views
?:
int
;
}
,
>
Page
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
blocks
class
Name
class
Type
CONSTRUCTOR_
ID
documents
original
Args
part?
photos
rtl?
SUBCLASS_
OF_
ID
url
v2?
views?
Constructors
constructor
new
Page
(
args
:
{
blocks
:
TypePageBlock
[]
;
documents
:
TypeDocument
[]
;
part
?:
boolean
;
photos
:
Api
.
TypePhoto
[]
;
rtl
?:
boolean
;
url
:
string
;
v2
?:
boolean
;
views
?:
number
;
}
,
)
:
Page
Parameters
args
:
{
blocks
:
TypePageBlock
[]
;
documents
:
TypeDocument
[]
;
part
?:
boolean
;
photos
:
Api
.
TypePhoto
[]
;
rtl
?:
boolean
;
url
:
string
;
v2
?:
boolean
;
views
?:
number
;
}
Returns
Page
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
Page
Parameters
reader
:
any
Returns
Page
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
()
:
{
blocks
:
TypePageBlock
[]
;
documents
:
TypeDocument
[]
;
part
?:
boolean
;
photos
:
Api
.
TypePhoto
[]
;
rtl
?:
boolean
;
url
:
string
;
v2
?:
boolean
;
views
?:
number
;
}
Returns
{
blocks
:
TypePageBlock
[]
;
documents
:
TypeDocument
[]
;
part
?:
boolean
;
photos
:
Api
.
TypePhoto
[]
;
rtl
?:
boolean
;
url
:
string
;
v2
?:
boolean
;
views
?:
number
;
}
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
blocks
blocks
:
TypePageBlock
[]
class
Name
className
:
"Page"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2556788493
documents
documents
:
TypeDocument
[]
original
Args
originalArgs
:
{
blocks
:
TypePageBlock
[]
;
documents
:
TypeDocument
[]
;
part
?:
boolean
;
photos
:
Api
.
TypePhoto
[]
;
rtl
?:
boolean
;
url
:
string
;
v2
?:
boolean
;
views
?:
number
;
}
Optional
part
part
?:
boolean
photos
photos
:
Api
.
TypePhoto
[]
Optional
rtl
rtl
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
3023575326
url
url
:
string
Optional
v2
v2
?:
boolean
Optional
views
views
?:
number
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
blocks
class
Name
class
Type
CONSTRUCTOR_
ID
documents
original
Args
part
photos
rtl
SUBCLASS_
OF_
ID
url
v2
views
GitHub
npm
Issues
teleproto - v1.229.0
Loading...