# dev.inmo.tgbotapi.requests.answers

docs

# Package dev.inmo.tgbotapi.requests.answers

## Types

AnswerCallbackQuery
Link copied to clipboard
data class AnswerCallbackQuery ( val callbackQueryId: CallbackQueryIdentifier , val text: String ? = null, val showAlert: Boolean ? = null, val url: String ? = null, val cachedTimeSeconds: Int ? = null) : SimpleRequest < Boolean >
Content copied to clipboard
AnswerInlineQuery
Link copied to clipboard
data class AnswerInlineQuery ( val inlineQueryID: InlineQueryIdentifier , val results: List < InlineQueryResult > = emptyList(), val cachedTime: Int ? = null, val isPersonal: Boolean ? = null, val nextOffset: String ? = null, val switchPmText: String ? = null, val switchPmParameter: String ? = null) : SimpleRequest < Boolean >
Content copied to clipboard
AnswerWebAppQuery
Link copied to clipboard
data class AnswerWebAppQuery (val webAppQueryId: WebAppQueryId , val result: InlineQueryResult ) : SimpleRequest < SentWebAppMessage >
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