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

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

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

sealed trait RevenueWithdrawalState {}

/** The withdrawal is in progress. */
case object RevenueWithdrawalStatePending extends RevenueWithdrawalState

/** The withdrawal succeeded.
  *
  * @param date
  *   Date the withdrawal was completed in Unix time
  * @param url
  *   An HTTPS URL that can be used to see transaction details
  */
final case class RevenueWithdrawalStateSucceeded(date: Int, url: String) extends RevenueWithdrawalState

/** The withdrawal failed and the transaction was refunded. */
case object RevenueWithdrawalStateFailed extends RevenueWithdrawalState




© 2015 - 2024 Weber Informatics LLC | Privacy Policy