TelegramBotAPI
js
tgbotapi.webapps
/
dev.inmo.tgbotapi.webapps
/
MainButton
Main
Button
external
class
MainButton
Members
Members & Extensions
Constructors
Main
Button
Link copied to clipboard
constructor
(
)
Functions
disable
Link copied to clipboard
fun
disable
(
)
:
MainButton
enable
Link copied to clipboard
fun
enable
(
)
:
MainButton
hide
Link copied to clipboard
fun
hide
(
)
:
MainButton
hide
Progress
Link copied to clipboard
fun
hideProgress
(
)
:
MainButton
on
Click
Link copied to clipboard
fun
MainButton
.
onClick
(
eventHandler
:
EventHandler
)
:
MainButton
set
Params
Link copied to clipboard
fun
MainButton
.
setParams
(
params
:
MainButtonParams
)
:
MainButton
set
Text
Link copied to clipboard
fun
setText
(
text
:
String
)
:
MainButton
show
Link copied to clipboard
fun
show
(
)
:
MainButton
show
Progress
Link copied to clipboard
fun
showProgress
(
leaveActive
:
Boolean
=
definedExternally
)
:
MainButton
Properties
color
Link copied to clipboard
var
color
:
String
is
Active
Link copied to clipboard
val
isActive
:
Boolean
is
Progress
Visible
Link copied to clipboard
val
isProgressVisible
:
Boolean
is
Visible
Link copied to clipboard
val
isVisible
:
Boolean
text
Link copied to clipboard
val
text
:
String
text
Color
Link copied to clipboard
var
textColor
:
String