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

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

package telegramium.bots

/** This object represents a service message about the completion of a giveaway without public winners.
  *
  * @param winnerCount
  *   Number of winners in the giveaway
  * @param unclaimedPrizeCount
  *   Optional. Number of undistributed prizes
  * @param giveawayMessage
  *   Optional. Message with the giveaway that was completed, if it wasn't deleted
  * @param isStarGiveaway
  *   Optional. True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram
  *   Premium giveaway.
  */
final case class GiveawayCompleted(
  winnerCount: Int,
  unclaimedPrizeCount: Option[Int] = Option.empty,
  giveawayMessage: Option[Message] = Option.empty,
  isStarGiveaway: Option[Boolean] = Option.empty
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy