com.pengrad.telegrambot.model.request.ForceReply.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-telegram-bot-api Show documentation
Show all versions of java-telegram-bot-api Show documentation
Java API for Telegram Bot API
package com.pengrad.telegrambot.model.request
/**
* stas
* 8/4/15.
*/
data class ForceReply @JvmOverloads constructor(
@get:JvmName("selective") var selective: Boolean = false,
@get:JvmName("inputFieldPlaceholder") var inputFieldPlaceholder: String? = null
) : Keyboard() {
private val force_reply = true
fun inputFieldPlaceholder(inputFieldPlaceholder: String?): ForceReply {
this.inputFieldPlaceholder = inputFieldPlaceholder
return this
}
fun selective(selective: Boolean): ForceReply {
this.selective = selective
return this
}
}