teleproto - v1.234.0
GitHub
npm
Issues
Preparing search index...
Api
MessageMediaWidget
Class MessageMediaWidget
Hierarchy (
View Summary
)
VirtualClass
<
{
backgroundQuery
?:
boolean
;
canQuery
?:
boolean
;
chatData
?:
string
;
height
:
int
;
isCopy
?:
boolean
;
payload
:
bytes
;
publicData
?:
string
;
publicDataHash
?:
long
;
widgetId
?:
long
;
width
:
int
;
}
,
>
MessageMediaWidget
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
background
Query?
can
Query?
chat
Data?
class
Name
class
Type
CONSTRUCTOR_
ID
height
is
Copy?
original
Args
payload
public
Data?
public
Data
Hash?
SUBCLASS_
OF_
ID
widget
Id?
width
Constructors
constructor
new
MessageMediaWidget
(
args
:
{
backgroundQuery
?:
boolean
;
canQuery
?:
boolean
;
chatData
?:
string
;
height
:
number
;
isCopy
?:
boolean
;
payload
:
bytes
;
publicData
?:
string
;
publicDataHash
?:
BigInteger
;
widgetId
?:
BigInteger
;
width
:
number
;
}
,
)
:
MessageMediaWidget
Parameters
args
:
{
backgroundQuery
?:
boolean
;
canQuery
?:
boolean
;
chatData
?:
string
;
height
:
number
;
isCopy
?:
boolean
;
payload
:
bytes
;
publicData
?:
string
;
publicDataHash
?:
BigInteger
;
widgetId
?:
BigInteger
;
width
:
number
;
}
Returns
MessageMediaWidget
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
MessageMediaWidget
Parameters
reader
:
any
Returns
MessageMediaWidget
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
()
:
{
backgroundQuery
?:
boolean
;
canQuery
?:
boolean
;
chatData
?:
string
;
height
:
number
;
isCopy
?:
boolean
;
payload
:
bytes
;
publicData
?:
string
;
publicDataHash
?:
BigInteger
;
widgetId
?:
BigInteger
;
width
:
number
;
}
Returns
{
backgroundQuery
?:
boolean
;
canQuery
?:
boolean
;
chatData
?:
string
;
height
:
number
;
isCopy
?:
boolean
;
payload
:
bytes
;
publicData
?:
string
;
publicDataHash
?:
BigInteger
;
widgetId
?:
BigInteger
;
width
:
number
;
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"request"
|
"constructor"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
Optional
background
Query
backgroundQuery
?:
boolean
Optional
can
Query
canQuery
?:
boolean
Optional
chat
Data
chatData
?:
string
class
Name
className
:
"MessageMediaWidget"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
574157332
height
height
:
number
Optional
is
Copy
isCopy
?:
boolean
original
Args
originalArgs
:
{
backgroundQuery
?:
boolean
;
canQuery
?:
boolean
;
chatData
?:
string
;
height
:
number
;
isCopy
?:
boolean
;
payload
:
bytes
;
publicData
?:
string
;
publicDataHash
?:
BigInteger
;
widgetId
?:
BigInteger
;
width
:
number
;
}
payload
payload
:
bytes
Optional
public
Data
publicData
?:
string
Optional
public
Data
Hash
publicDataHash
?:
BigInteger
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1198308914
Optional
widget
Id
widgetId
?:
BigInteger
width
width
:
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
background
Query
can
Query
chat
Data
class
Name
class
Type
CONSTRUCTOR_
ID
height
is
Copy
original
Args
payload
public
Data
public
Data
Hash
SUBCLASS_
OF_
ID
widget
Id
width
GitHub
npm
Issues
teleproto - v1.234.0
Loading...