Package dev. inmo. tgbotapi. requests. answers
Types
AnswerCallbackQuery
Link copied to clipboard
data class AnswerCallbackQuery(callbackQueryId: CallbackQueryIdentifier, text: String?, showAlert: Boolean?, url: String?, cachedTimeSeconds: Int?) : SimpleRequest<Boolean>
Content copied to clipboard
AnswerInlineQuery
Link copied to clipboard
data class AnswerInlineQuery(inlineQueryID: InlineQueryIdentifier, results: List<InlineQueryResult>, cachedTime: Int?, isPersonal: Boolean?, nextOffset: String?, switchPmText: String?, switchPmParameter: String?) : SimpleRequest<Boolean>
Content copied to clipboard
InlineQueryAnswersResultsSerializer
Link copied to clipboard
object InlineQueryAnswersResultsSerializer : KSerializer<List<InlineQueryResult>>
Content copied to clipboard
Functions
createAnswer
Link copied to clipboard
fun CallbackQuery.createAnswer(text: String? = null, showAlert: Boolean? = null, url: String? = null, cachedTimeSeconds: Int? = null): AnswerCallbackQuery
Content copied to clipboard
fun InlineQuery.createAnswer(results: List<InlineQueryResult> = emptyList(), cachedTime: Int? = null, isPersonal: Boolean? = null, nextOffset: String? = null, switchPmText: String? = null, switchPmParameter: String? = null): AnswerInlineQuery
Content copied to clipboard