telegram-bot-api-7.0: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Types.Giveaway

Contents

Synopsis

Giveaway

data Giveaway Source #

This object represents a message about a scheduled giveaway.

Constructors

Giveaway 

Fields

Instances

Instances details
FromJSON Giveaway Source # 
Instance details

Defined in Telegram.Bot.API.Types.Giveaway

ToJSON Giveaway Source # 
Instance details

Defined in Telegram.Bot.API.Types.Giveaway

Generic Giveaway Source # 
Instance details

Defined in Telegram.Bot.API.Types.Giveaway

Associated Types

type Rep Giveaway :: Type -> Type #

Methods

from :: Giveaway -> Rep Giveaway x #

to :: Rep Giveaway x -> Giveaway #

Show Giveaway Source # 
Instance details

Defined in Telegram.Bot.API.Types.Giveaway

type Rep Giveaway Source # 
Instance details

Defined in Telegram.Bot.API.Types.Giveaway

type Rep Giveaway = D1 ('MetaData "Giveaway" "Telegram.Bot.API.Types.Giveaway" "telegram-bot-api-7.0-2XShkJeCLX71W7OKNKemWZ" 'False) (C1 ('MetaCons "Giveaway" 'PrefixI 'True) (((S1 ('MetaSel ('Just "giveawayChats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Chat]) :*: S1 ('MetaSel ('Just "giveawayWinnersSelectionDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime)) :*: (S1 ('MetaSel ('Just "giveawayWinnerCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "giveawayOnlyNewMembers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "giveawayHasPublicWinners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "giveawayPrizeDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "giveawayCountryCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "giveawayPremiumSubscriptionMonthCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int))))))