teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
PageBlockPhoto
Class PageBlockPhoto
Hierarchy (
View Summary
)
VirtualClass
<
{
caption
:
TypePageCaption
;
photoId
:
long
;
spoiler
?:
boolean
;
url
?:
string
;
webpageId
?:
long
;
}
,
>
PageBlockPhoto
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
caption
class
Name
class
Type
CONSTRUCTOR_
ID
original
Args
photo
Id
spoiler?
SUBCLASS_
OF_
ID
url?
webpage
Id?
Constructors
constructor
new
PageBlockPhoto
(
args
:
{
caption
:
PageCaption
;
photoId
:
BigInteger
;
spoiler
?:
boolean
;
url
?:
string
;
webpageId
?:
BigInteger
;
}
,
)
:
PageBlockPhoto
Parameters
args
:
{
caption
:
PageCaption
;
photoId
:
BigInteger
;
spoiler
?:
boolean
;
url
?:
string
;
webpageId
?:
BigInteger
;
}
Returns
PageBlockPhoto
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
PageBlockPhoto
Parameters
reader
:
any
Returns
PageBlockPhoto
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
()
:
{
caption
:
PageCaption
;
photoId
:
BigInteger
;
spoiler
?:
boolean
;
url
?:
string
;
webpageId
?:
BigInteger
;
}
Returns
{
caption
:
PageCaption
;
photoId
:
BigInteger
;
spoiler
?:
boolean
;
url
?:
string
;
webpageId
?:
BigInteger
;
}
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
caption
caption
:
PageCaption
class
Name
className
:
"PageBlockPhoto"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
391759200
original
Args
originalArgs
:
{
caption
:
PageCaption
;
photoId
:
BigInteger
;
spoiler
?:
boolean
;
url
?:
string
;
webpageId
?:
BigInteger
;
}
photo
Id
photoId
:
BigInteger
Optional
spoiler
spoiler
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
449467972
Optional
url
url
?:
string
Optional
webpage
Id
webpageId
?:
BigInteger
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
caption
class
Name
class
Type
CONSTRUCTOR_
ID
original
Args
photo
Id
spoiler
SUBCLASS_
OF_
ID
url
webpage
Id
GitHub
npm
Issues
teleproto - v1.229.0
Loading...