# com.github.insanusmokrassar.TelegramBotAPI.extensions.api.answers - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.answers

## Package com.github.insanusmokrassar.TelegramBotAPI.extensions.api.answers

### Functions

(common)

#### answerCallbackQuery

`suspend fun RequestsExecutor.answerCallbackQuery(callbackQueryId: CallbackQueryIdentifier, text: String? = null, showAlert: Boolean? = null, url: String? = null, cachedTimeSeconds: Int? = null): Boolean`
`suspend fun RequestsExecutor.answerCallbackQuery(callbackQuery: CallbackQuery, text: String? = null, showAlert: Boolean? = null, url: String? = null, cachedTimeSeconds: Int? = null): Boolean`

(common)

#### answerInlineQuery

`suspend fun RequestsExecutor.answerInlineQuery(inlineQueryID: InlineQueryIdentifier, results: List<InlineQueryResult> = emptyList(), cachedTime: Int? = null, isPersonal: Boolean? = null, nextOffset: String? = null, switchPmText: String? = null, switchPmParameter: String? = null): Boolean`
`suspend fun RequestsExecutor.answerInlineQuery(inlineQuery: InlineQuery, results: List<InlineQueryResult> = emptyList(), cachedTime: Int? = null, isPersonal: Boolean? = null, nextOffset: String? = null, switchPmText: String? = null, switchPmParameter: String? = null): Boolean`