telegram-bot-api-7.4.3: 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.4.3-38UQu7GyDDHHZ1He0cP5zf" 'False) (C1 ('MetaCons "PollOption" 'PrefixI 'True) (S1 ('MetaSel ('Just "pollOptionText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "pollOptionEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [MessageEntity])) :*: S1 ('MetaSel ('Just "pollOptionVoterCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))