class Tourmaline::GiveawayCreated

Overview

This object represents a service message about the creation of a scheduled giveaway.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(prize_star_count : Int32 | Int64 | Nil = nil) #

[View source]

Instance Method Detail

def prize_star_count : Int32 | Int64 | Nil #

Optional. The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only


[View source]
def prize_star_count=(prize_star_count : Int32 | Int64 | Nil) #

Optional. The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only


[View source]