StopPollRequest

data class StopPollRequest(chat_id: String, message_id: Long, reply_markup: InlineKeyboardMarkup?) : TelegramRequest

Use this method to stop a poll which was sent by the bot. On success, the stopped Poll is returned.

Constructors

StopPollRequest
Link copied to clipboard
fun StopPollRequest(chat_id: String, message_id: Long, reply_markup: InlineKeyboardMarkup? = null)

Properties

chat_id
Link copied to clipboard
val chat_id: String
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
message_id
Link copied to clipboard
val message_id: Long
Identifier of the original message with the poll
reply_markup
Link copied to clipboard
val reply_markup: InlineKeyboardMarkup? = null
A JSON-serialized object for a new message © 2021 CopyrightGenerated by dokka