//core/com.petersamokhin.vksdk.core.model.objects
Package com.petersamokhin.vksdk.core.model.objects¶
Types¶
Name | Summary |
---|---|
Keyboard | [common] data class Keyboard(buttons: List<List<Keyboard.Button>>, oneTime: Boolean, inline: Boolean, authorId: Int?) https://vk. |
KeyboardDslBuilder | [common] class KeyboardDslBuilder https://vk. |
KeyboardDslMarker | [common] @DslMarker() annotation class KeyboardDslMarker |
LocationButton | [common] class LocationButton(payload: String?) |
Message | [common] class Message(userId: Int?, peerId: Int?, domain: String?, chatId: Int?, userIds: String?, randomId: Long?, message: String?, lat: Double?, long: Double?, attachment: String?, replyTo: Int?, forwardMessages: String?, stickerId: Int?, groupId: Int?, keyboard: Keyboard?, payload: String?, dontParseLinks: Int?, disableMentions: Int?, intent: String?, template: MessageCarouselTemplate?) Message to be senthttps://vk.com/dev/messages. |
MessageCarouselTemplate | [common] data class MessageCarouselTemplate(elements: List<MessageCarouselTemplate.Element>) |
OpenLinkButton | [common] class OpenLinkButton(label: String, link: String, payload: String?) |
RowDslBuilder | [common] class RowDslBuilder |
TextButton | [common] class TextButton(label: String, color: Keyboard.Button.Color, payload: String?) |
UploadableContent | [common] sealed class UploadableContent Content to be uploaded to server |
VkAppsButton | [common] class VkAppsButton(label: String, appId: Int, ownerId: Int?, hash: String?, payload: String?) |
VkPayButton | [common] class VkPayButton(hash: String, payload: String?) |
Functions¶
Name | Summary |
---|---|
inlineKeyboard | [common] fun inlineKeyboard(builder: KeyboardDslBuilder.() -> Unit): Keyboard Use keyboard DSL to build the keyboard |
keyboard | [common] fun keyboard(oneTime: Boolean = false, builder: KeyboardDslBuilder.() -> Unit): Keyboard Use keyboard DSL to build the keyboard |