teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
PageBlockEmbed
Class PageBlockEmbed
Hierarchy (
View Summary
)
VirtualClass
<
{
allowScrolling
?:
boolean
;
caption
:
TypePageCaption
;
fullWidth
?:
boolean
;
h
?:
int
;
html
?:
string
;
posterPhotoId
?:
long
;
url
?:
string
;
w
?:
int
;
}
,
>
PageBlockEmbed
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
allow
Scrolling?
caption
class
Name
class
Type
CONSTRUCTOR_
ID
full
Width?
h?
html?
original
Args
poster
Photo
Id?
SUBCLASS_
OF_
ID
url?
w?
Constructors
constructor
new
PageBlockEmbed
(
args
:
{
allowScrolling
?:
boolean
;
caption
:
PageCaption
;
fullWidth
?:
boolean
;
h
?:
number
;
html
?:
string
;
posterPhotoId
?:
BigInteger
;
url
?:
string
;
w
?:
number
;
}
,
)
:
PageBlockEmbed
Parameters
args
:
{
allowScrolling
?:
boolean
;
caption
:
PageCaption
;
fullWidth
?:
boolean
;
h
?:
number
;
html
?:
string
;
posterPhotoId
?:
BigInteger
;
url
?:
string
;
w
?:
number
;
}
Returns
PageBlockEmbed
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
PageBlockEmbed
Parameters
reader
:
any
Returns
PageBlockEmbed
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
()
:
{
allowScrolling
?:
boolean
;
caption
:
PageCaption
;
fullWidth
?:
boolean
;
h
?:
number
;
html
?:
string
;
posterPhotoId
?:
BigInteger
;
url
?:
string
;
w
?:
number
;
}
Returns
{
allowScrolling
?:
boolean
;
caption
:
PageCaption
;
fullWidth
?:
boolean
;
h
?:
number
;
html
?:
string
;
posterPhotoId
?:
BigInteger
;
url
?:
string
;
w
?:
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
Optional
allow
Scrolling
allowScrolling
?:
boolean
caption
caption
:
PageCaption
class
Name
className
:
"PageBlockEmbed"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2826014149
Optional
full
Width
fullWidth
?:
boolean
Optional
h
h
?:
number
Optional
html
html
?:
string
original
Args
originalArgs
:
{
allowScrolling
?:
boolean
;
caption
:
PageCaption
;
fullWidth
?:
boolean
;
h
?:
number
;
html
?:
string
;
posterPhotoId
?:
BigInteger
;
url
?:
string
;
w
?:
number
;
}
Optional
poster
Photo
Id
posterPhotoId
?:
BigInteger
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
449467972
Optional
url
url
?:
string
Optional
w
w
?:
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
allow
Scrolling
caption
class
Name
class
Type
CONSTRUCTOR_
ID
full
Width
h
html
original
Args
poster
Photo
Id
SUBCLASS_
OF_
ID
url
w
GitHub
npm
Issues
teleproto - v1.229.0
Loading...