# CallbackQuery - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.types.CallbackQuery / CallbackQuery

# CallbackQuery

(common) `interface CallbackQuery` (source)

### Properties

(common)

#### chatInstance

`abstract val chatInstance: String`

(common)

#### id

`abstract val id: CallbackQueryIdentifier`

(common)

#### user

`abstract val user: User`

### Extension Functions

(common)

#### createAnswer

`fun CallbackQuery.createAnswer(text: String? = null, showAlert: Boolean? = null, url: String? = null, cachedTimeSeconds: Int? = null): AnswerCallbackQuery`

### Inheritors

(common)

#### DataCallbackQuery

`interface DataCallbackQuery : CallbackQuery`

(common)

#### GameShortNameCallbackQuery

`interface GameShortNameCallbackQuery : CallbackQuery`

(common)

#### InlineMessageIdCallbackQuery

`interface InlineMessageIdCallbackQuery : CallbackQuery`

(common)

#### MessageCallbackQuery

`interface MessageCallbackQuery : CallbackQuery`

(common)

#### UnknownCallbackQueryType

`data class UnknownCallbackQueryType : CallbackQuery`