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

telegramium.bots.InputPollOption.scala Maven / Gradle / Ivy

package telegramium.bots

/** This object contains information about one answer option in a poll to be sent.
  *
  * @param text
  *   Option text, 1-100 characters
  * @param textParseMode
  *   Optional. Mode for parsing entities in the text. See formatting options for more details. Currently, only custom
  *   emoji entities are allowed
  * @param textEntities
  *   Optional. A JSON-serialized list of special entities that appear in the poll option text. It can be specified
  *   instead of text_parse_mode
  */
final case class InputPollOption(
  text: String,
  textParseMode: Option[String] = Option.empty,
  textEntities: List[iozhik.OpenEnum[MessageEntity]] = List.empty
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy