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

Telegram.Bot.API.Types.User

Contents

Synopsis

User

data User Source #

This object represents a Telegram user or bot.

https://core.telegram.org/bots/api#user

Constructors

User 

Fields

Instances

Instances details
Show User Source # 
Instance details

Defined in Telegram.Bot.API.Types.User

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User Source # 
Instance details

Defined in Telegram.Bot.API.Types.User

Associated Types

type Rep User :: Type -> Type #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

FromJSON User Source # 
Instance details

Defined in Telegram.Bot.API.Types.User

Methods

parseJSON :: Value -> Parser User

parseJSONList :: Value -> Parser [User]

ToJSON User Source # 
Instance details

Defined in Telegram.Bot.API.Types.User

Methods

toJSON :: User -> Value

toEncoding :: User -> Encoding

toJSONList :: [User] -> Value

toEncodingList :: [User] -> Encoding

type Rep User Source # 
Instance details

Defined in Telegram.Bot.API.Types.User