docs / com.github.insanusmokrassar.TelegramBotAPI.types.InlineQueries.query / BaseInlineQuery

BaseInlineQuery

(common) data class BaseInlineQuery : InlineQuery (source)

Constructors

(common)

<init>

BaseInlineQuery(id: InlineQueryIdentifier, from: User, query: String, offset: String)

Properties

(common)

from

val from: User
(common)

id

val id: InlineQueryIdentifier
(common)

offset

val offset: String
(common)

query

val query: String

Extension Functions

(common)

createAnswer

fun InlineQuery.createAnswer(results: List<InlineQueryResult> = emptyList(), cachedTime: Int? = null, isPersonal: Boolean? = null, nextOffset: String? = null, switchPmText: String? = null, switchPmParameter: String? = null): AnswerInlineQuery