teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
MessageMediaDice
Class MessageMediaDice
Hierarchy (
View Summary
)
VirtualClass
<
{
emoticon
:
string
;
gameOutcome
?:
TypeEmojiGameOutcome
;
value
:
int
}
,
>
MessageMediaDice
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
emoticon
game
Outcome?
original
Args
SUBCLASS_
OF_
ID
value
Constructors
constructor
new
MessageMediaDice
(
args
:
{
emoticon
:
string
;
gameOutcome
?:
EmojiGameOutcome
;
value
:
number
;
}
,
)
:
MessageMediaDice
Parameters
args
:
{
emoticon
:
string
;
gameOutcome
?:
EmojiGameOutcome
;
value
:
number
}
Returns
MessageMediaDice
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
MessageMediaDice
Parameters
reader
:
any
Returns
MessageMediaDice
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
()
:
{
emoticon
:
string
;
gameOutcome
?:
EmojiGameOutcome
;
value
:
number
}
Returns
{
emoticon
:
string
;
gameOutcome
?:
EmojiGameOutcome
;
value
:
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
class
Name
className
:
"MessageMediaDice"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
147581959
emoticon
emoticon
:
string
Optional
game
Outcome
gameOutcome
?:
EmojiGameOutcome
original
Args
originalArgs
:
{
emoticon
:
string
;
gameOutcome
?:
EmojiGameOutcome
;
value
:
number
;
}
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1198308914
value
value
:
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
class
Name
class
Type
CONSTRUCTOR_
ID
emoticon
game
Outcome
original
Args
SUBCLASS_
OF_
ID
value
GitHub
npm
Issues
teleproto - v1.229.0
Loading...