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

Telegram.Bot.API.Types.GameHighScore

Synopsis

GameHighScore

data GameHighScore Source #

This object represents one row of the high scores table for a game.

Constructors

GameHighScore 

Fields

Instances

Instances details
Show GameHighScore Source # 
Instance details

Defined in Telegram.Bot.API.Types.GameHighScore

Generic GameHighScore Source # 
Instance details

Defined in Telegram.Bot.API.Types.GameHighScore

Associated Types

type Rep GameHighScore :: Type -> Type #

FromJSON GameHighScore Source # 
Instance details

Defined in Telegram.Bot.API.Types.GameHighScore

Methods

parseJSON :: Value -> Parser GameHighScore

parseJSONList :: Value -> Parser [GameHighScore]

ToJSON GameHighScore Source # 
Instance details

Defined in Telegram.Bot.API.Types.GameHighScore

Methods

toJSON :: GameHighScore -> Value

toEncoding :: GameHighScore -> Encoding

toJSONList :: [GameHighScore] -> Value

toEncodingList :: [GameHighScore] -> Encoding

type Rep GameHighScore Source # 
Instance details

Defined in Telegram.Bot.API.Types.GameHighScore

type Rep GameHighScore = D1 ('MetaData "GameHighScore" "Telegram.Bot.API.Types.GameHighScore" "telegram-bot-api-6.5-inplace" 'False) (C1 ('MetaCons "GameHighScore" 'PrefixI 'True) (S1 ('MetaSel ('Just "gameHighScorePosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "gameHighScoreUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: S1 ('MetaSel ('Just "gameHighScoreScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))