Package dev.inmo.tgbotapi.requests.answers

Types

AnswerCallbackQuery
Link copied to clipboard
common
data class AnswerCallbackQuery(callbackQueryId: String, text: String?, showAlert: Boolean?, url: String?, cachedTimeSeconds: Int?) : SimpleRequest<Boolean>
AnswerInlineQuery
Link copied to clipboard
common
data class AnswerInlineQuery(inlineQueryID: String, results: List<InlineQueryResult>, cachedTime: Int?, isPersonal: Boolean?, nextOffset: String?, switchPmText: String?, switchPmParameter: String?) : SimpleRequest<Boolean>

Functions

createAnswer
Link copied to clipboard
common
fun CallbackQuery.createAnswer(text: String?, showAlert: Boolean?, url: String?, cachedTimeSeconds: Int?): AnswerCallbackQuery
fun InlineQuery.createAnswer(results: List<InlineQueryResult>, cachedTime: Int?, isPersonal: Boolean?, nextOffset: String?, switchPmText: String?, switchPmParameter: String?): AnswerInlineQuery