StopPollRequest

data class StopPollRequest(chatId: Int, messageId: Int, replyMarkup: InlineKeyboardMarkup?)

Request body for stopPoll

Parameters

chatId

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

messageId

Identifier of the original message with the poll

replyMarkup

A JSON-serialized object for a new message inline keyboard.

Constructors

StopPollRequest
Link copied to clipboard
common
fun StopPollRequest(chatId: Int, messageId: Int, replyMarkup: InlineKeyboardMarkup? = null)
Unique identifier for the target chat or username of the target channel (in the format @channelusername)

Functions

component1
Link copied to clipboard
common
operator fun component1(): Int
component2
Link copied to clipboard
common
operator fun component2(): Int
component3
Link copied to clipboard
common
operator fun component3(): InlineKeyboardMarkup?
copy
Link copied to clipboard
common
fun copy(chatId: Int, messageId: Int, replyMarkup: InlineKeyboardMarkup? = null): StopPollRequest
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

chatId
Link copied to clipboard
common
val chatId: Int
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
messageId
Link copied to clipboard
common
val messageId: Int
Identifier of the original message with the poll
replyMarkup
Link copied to clipboard
common
val replyMarkup: InlineKeyboardMarkup? = null
A JSON-serialized object for a new message inline keyboard.