telegram-bot-api-6.5.1: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellNone
LanguageHaskell2010

Telegram.Bot.API.Types.PollAnswer

Contents

Synopsis

PollAnswer

data PollAnswer Source #

This object represents an answer of a user in a non-anonymous poll.

Constructors

PollAnswer 

Fields

Instances

Instances details
Show PollAnswer Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollAnswer

Generic PollAnswer Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollAnswer

Associated Types

type Rep PollAnswer :: Type -> Type #

FromJSON PollAnswer Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollAnswer

Methods

parseJSON :: Value -> Parser PollAnswer

parseJSONList :: Value -> Parser [PollAnswer]

ToJSON PollAnswer Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollAnswer

Methods

toJSON :: PollAnswer -> Value

toEncoding :: PollAnswer -> Encoding

toJSONList :: [PollAnswer] -> Value

toEncodingList :: [PollAnswer] -> Encoding

type Rep PollAnswer Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollAnswer

type Rep PollAnswer = D1 ('MetaData "PollAnswer" "Telegram.Bot.API.Types.PollAnswer" "telegram-bot-api-6.5.1-inplace" 'False) (C1 ('MetaCons "PollAnswer" 'PrefixI 'True) (S1 ('MetaSel ('Just "pollAnswerPollId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PollId) :*: (S1 ('MetaSel ('Just "pollAnswerUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: S1 ('MetaSel ('Just "pollAnswerOptionIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Int]))))