ChatBoostSourceGiveaway

telegramium.bots.ChatBoostSourceGiveaway
final case class ChatBoostSourceGiveaway(giveawayMessageId: Int, user: Option[User], isUnclaimed: Option[Boolean]) extends ChatBoostSource

The boost was obtained by the creation of a Telegram Premium giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.

Value parameters

giveawayMessageId

Identifier of a message in the chat with the giveaway; the message could have been deleted already. May be 0 if the message isn't sent yet.

isUnclaimed

Optional. True, if the giveaway was completed, but there was no user to win the prize

user

Optional. User that won the prize in the giveaway if any

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product