BaseInlineQuery

data class BaseInlineQuery(val id: InlineQueryId, val from: CommonUser, val query: String, val offset: String, val chatType: ChatType?) : InlineQuery

Constructors

Link copied to clipboard
constructor(id: InlineQueryId, from: CommonUser, query: String, offset: String, chatType: ChatType?)

Properties

Link copied to clipboard
open override val chatType: ChatType?
Link copied to clipboard
open override val from: CommonUser

The source User of this type

Link copied to clipboard
open override val id: InlineQueryId
Link copied to clipboard
open override val offset: String
Link copied to clipboard
open override val query: String
Link copied to clipboard
open override val user: CommonUser

Functions

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