InlineQueryResultArticle

data class InlineQueryResultArticle(id: String, title: String, inputMessageContent: InputMessageContent, replyMarkup: InlineKeyboardMarkup?, url: String?, hideUrl: Boolean, description: String?, thumbUrl: String?, thumbWidth: Int?, thumbHeight: Int?, type: String) : InlineQueryResult

Represents a link to an article or web page.

Parameters

id

Unique identifier for this result, 1-64 Bytes

title

Title of the result

inputMessageContent

Content of the message to be sent

replyMarkup

Optional. Inline keyboard attached to the message

url

Optional. URL of the result

hideUrl

Optional. Pass True, if you don't want the URL to be shown in the message

description

Optional. Short description of the result

thumbUrl

Optional. Url of the thumbnail for the result

thumbWidth

Optional. Thumbnail width

thumbHeight

Optional. Thumbnail height

type

Type of the result, must be article

Constructors

InlineQueryResultArticle
Link copied to clipboard
common
fun InlineQueryResultArticle(id: String, title: String, inputMessageContent: InputMessageContent, replyMarkup: InlineKeyboardMarkup? = null, url: String? = null, hideUrl: Boolean = false, description: String? = null, thumbUrl: String? = null, thumbWidth: Int? = null, thumbHeight: Int? = null, type: String)
Unique identifier for this result, 1-64 Bytes

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component10
Link copied to clipboard
common
operator fun component10(): Int?
component11
Link copied to clipboard
common
operator fun component11(): String
component2
Link copied to clipboard
common
operator fun component2(): String
component3
Link copied to clipboard
common
operator fun component3(): InputMessageContent
component4
Link copied to clipboard
common
operator fun component4(): InlineKeyboardMarkup?
component5
Link copied to clipboard
common
operator fun component5(): String?
component6
Link copied to clipboard
common
operator fun component6(): Boolean
component7
Link copied to clipboard
common
operator fun component7(): String?
component8
Link copied to clipboard
common
operator fun component8(): String?
component9
Link copied to clipboard
common
operator fun component9(): Int?
copy
Link copied to clipboard
common
fun copy(id: String, title: String, inputMessageContent: InputMessageContent, replyMarkup: InlineKeyboardMarkup? = null, url: String? = null, hideUrl: Boolean = false, description: String? = null, thumbUrl: String? = null, thumbWidth: Int? = null, thumbHeight: Int? = null, type: String): InlineQueryResultArticle
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

description
Link copied to clipboard
common
val description: String? = null
Optional.
hideUrl
Link copied to clipboard
common
val hideUrl: Boolean = false
Optional.
id
Link copied to clipboard
common
val id: String
Unique identifier for this result, 1-64 Bytes
inputMessageContent
Link copied to clipboard
common
val inputMessageContent: InputMessageContent
Content of the message to be sent
replyMarkup
Link copied to clipboard
common
val replyMarkup: InlineKeyboardMarkup? = null
Optional.
thumbHeight
Link copied to clipboard
common
val thumbHeight: Int? = null
Optional.
thumbUrl
Link copied to clipboard
common
val thumbUrl: String? = null
Optional.
thumbWidth
Link copied to clipboard
common
val thumbWidth: Int? = null
Optional.
title
Link copied to clipboard
common
val title: String
Title of the result
type
Link copied to clipboard
common
val type: String
Type of the result, must be article
url
Link copied to clipboard
common
val url: String? = null
Optional.