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.PollOption

Contents

Synopsis

PollOption

data PollOption Source #

This object contains information about one answer option in a poll.

Constructors

PollOption 

Fields

Instances

Instances details
FromJSON PollOption Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollOption

ToJSON PollOption Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollOption

Generic PollOption Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollOption

Associated Types

type Rep PollOption :: Type -> Type #

Show PollOption Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollOption

type Rep PollOption Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollOption

type Rep PollOption = D1 ('MetaData "PollOption" "Telegram.Bot.API.Types.PollOption" "telegram-bot-api-7.0-2XShkJeCLX71W7OKNKemWZ" 'False) (C1 ('MetaCons "PollOption" 'PrefixI 'True) (S1 ('MetaSel ('Just "pollOptionText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "pollOptionVoterCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))