mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-08 17:33:47 +00:00
small refactor of MainButton
This commit is contained in:
parent
4343dbbde8
commit
4ce26c707e
@ -22,6 +22,9 @@ external class MainButton {
|
|||||||
fun showProgress(leaveActive: Boolean = definedExternally): MainButton
|
fun showProgress(leaveActive: Boolean = definedExternally): MainButton
|
||||||
fun hideProgress(): MainButton
|
fun hideProgress(): MainButton
|
||||||
|
|
||||||
|
/**
|
||||||
|
* **This method argument do not accept `this` [WebApp] object**
|
||||||
|
*/
|
||||||
fun onClick(eventHandler: () -> Unit): MainButton
|
fun onClick(eventHandler: () -> Unit): MainButton
|
||||||
fun offClick(eventHandler: () -> Unit): MainButton
|
fun offClick(eventHandler: () -> Unit): MainButton
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user