Skip to content

//core/com.petersamokhin.vksdk.core.model.objects/Keyboard

Keyboard

[common]\ data class Keyboard(buttons: List<List<Keyboard.Button>>, oneTime: Boolean, inline: Boolean, authorId: Int?)

https://vk.com/dev/bots_docs_3

Constructors

Keyboard [common]
fun Keyboard(buttons: List<List<Keyboard.Button>> = emptyList(), oneTime: Boolean = false, inline: Boolean = false, authorId: Int? = null)

Types

Name Summary
Button [common]
data class Button(action: Keyboard.Button.Action, color: Keyboard.Button.Color?)

Properties

Name Summary
authorId [common]
val authorId: Int? = null
buttons [common]
val buttons: List<List<Keyboard.Button>>
inline [common]
val inline: Boolean = false
oneTime [common]
val oneTime: Boolean = false