All Downloads are FREE. Search and download functionalities are using the official Maven repository.

telegramium.bots.client.StopPollReq.scala Maven / Gradle / Ivy

There is a newer version: 9.711.0
Show newest version
package telegramium.bots.client

import telegramium.bots.ChatId
import telegramium.bots.InlineKeyboardMarkup

/** @param chatId
  *   Unique identifier for the target chat or username of the target channel (in the format @channelusername)
  * @param messageId
  *   Identifier of the original message with the poll
  * @param businessConnectionId
  *   Unique identifier of the business connection on behalf of which the message to be edited was sent
  * @param replyMarkup
  *   A JSON-serialized object for a new message inline keyboard.
  */
final case class StopPollReq(
  chatId: ChatId,
  messageId: Int,
  businessConnectionId: Option[String] = Option.empty,
  replyMarkup: Option[InlineKeyboardMarkup] = Option.empty
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy