teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
RichButtonStyle
Class RichButtonStyle
Hierarchy (
View Summary
)
VirtualClass
<
{
bgDanger
?:
boolean
;
bgPrimary
?:
boolean
;
bgSuccess
?:
boolean
;
link
?:
boolean
;
}
,
>
RichButtonStyle
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
bg
Danger?
bg
Primary?
bg
Success?
class
Name
class
Type
CONSTRUCTOR_
ID
link?
original
Args
SUBCLASS_
OF_
ID
Constructors
constructor
new
RichButtonStyle
(
args
:
{
bgDanger
?:
boolean
;
bgPrimary
?:
boolean
;
bgSuccess
?:
boolean
;
link
?:
boolean
;
}
,
)
:
RichButtonStyle
Parameters
args
:
{
bgDanger
?:
boolean
;
bgPrimary
?:
boolean
;
bgSuccess
?:
boolean
;
link
?:
boolean
}
Returns
RichButtonStyle
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
RichButtonStyle
Parameters
reader
:
any
Returns
RichButtonStyle
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
()
:
{
bgDanger
?:
boolean
;
bgPrimary
?:
boolean
;
bgSuccess
?:
boolean
;
link
?:
boolean
;
}
Returns
{
bgDanger
?:
boolean
;
bgPrimary
?:
boolean
;
bgSuccess
?:
boolean
;
link
?:
boolean
}
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
bg
Danger
bgDanger
?:
boolean
Optional
bg
Primary
bgPrimary
?:
boolean
Optional
bg
Success
bgSuccess
?:
boolean
class
Name
className
:
"RichButtonStyle"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
63312061
Optional
link
link
?:
boolean
original
Args
originalArgs
:
{
bgDanger
?:
boolean
;
bgPrimary
?:
boolean
;
bgSuccess
?:
boolean
;
link
?:
boolean
;
}
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
779049823
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
bg
Danger
bg
Primary
bg
Success
class
Name
class
Type
CONSTRUCTOR_
ID
link
original
Args
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...