telega-0.2.8: Telegram Bot API binding

Safe HaskellNone
LanguageHaskell2010

Network.API.Telegram.Bot.Field.Name

Documentation

newtype Name Source #

Constructors

Name Text 
Instances
Show Name Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

FromJSON Name Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

parseJSON :: Value -> Parser Name

parseJSONList :: Value -> Parser [Name]

ToJSON Name Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

toJSON :: Name -> Value

toEncoding :: Name -> Encoding

toJSONList :: [Name] -> Value

toEncodingList :: [Name] -> Encoding

Accessible Text Name Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

access :: Lens' Name Text Source #

Accessible Text (Nick Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

access :: Lens' (Nick Name) Text Source #

Accessible Text (Last Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

access :: Lens' (Last Name) Text Source #

Accessible Text (First Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

access :: Lens' (First Name) Text Source #

FromJSON (Nick Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

parseJSON :: Value -> Parser (Nick Name)

parseJSONList :: Value -> Parser [Nick Name]

FromJSON (Last Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

parseJSON :: Value -> Parser (Last Name)

parseJSONList :: Value -> Parser [Last Name]

FromJSON (First Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

parseJSON :: Value -> Parser (First Name)

parseJSONList :: Value -> Parser [First Name]

ToJSON (Nick Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

toJSON :: Nick Name -> Value

toEncoding :: Nick Name -> Encoding

toJSONList :: [Nick Name] -> Value

toEncodingList :: [Nick Name] -> Encoding

ToJSON (Last Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

toJSON :: Last Name -> Value

toEncoding :: Last Name -> Encoding

toJSONList :: [Last Name] -> Value

toEncodingList :: [Last Name] -> Encoding

ToJSON (First Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

toJSON :: First Name -> Value

toEncoding :: First Name -> Encoding

toJSONList :: [First Name] -> Value

toEncodingList :: [First Name] -> Encoding

Accessible (Maybe (Nick Name)) Sender Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Sender

Methods

access :: Lens' Sender (Maybe (Nick Name)) Source #

Accessible (Maybe (Last Name)) Contact Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.Info.Contact

Methods

access :: Lens' Contact (Maybe (Last Name)) Source #

Accessible (Maybe (Last Name)) Sender Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Sender

Methods

access :: Lens' Sender (Maybe (Last Name)) Source #

Accessible (First Name) Contact Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.Info.Contact

Methods

access :: Lens' Contact (First Name) Source #

Accessible (First Name) Sender Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Sender

Methods

access :: Lens' Sender (First Name) Source #

data First a where Source #

Constructors

First :: Name -> First Name 
Instances
Accessible Text (First Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

access :: Lens' (First Name) Text Source #

Show a => Show (First a) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

showsPrec :: Int -> First a -> ShowS #

show :: First a -> String #

showList :: [First a] -> ShowS #

FromJSON (First Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

parseJSON :: Value -> Parser (First Name)

parseJSONList :: Value -> Parser [First Name]

ToJSON (First Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

toJSON :: First Name -> Value

toEncoding :: First Name -> Encoding

toJSONList :: [First Name] -> Value

toEncodingList :: [First Name] -> Encoding

Accessible (First Name) Contact Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.Info.Contact

Methods

access :: Lens' Contact (First Name) Source #

Accessible (First Name) Sender Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Sender

Methods

access :: Lens' Sender (First Name) Source #

data Last a where Source #

Constructors

Last :: Name -> Last Name 
Instances
Accessible Text (Last Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

access :: Lens' (Last Name) Text Source #

Show a => Show (Last a) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

showsPrec :: Int -> Last a -> ShowS #

show :: Last a -> String #

showList :: [Last a] -> ShowS #

FromJSON (Last Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

parseJSON :: Value -> Parser (Last Name)

parseJSONList :: Value -> Parser [Last Name]

ToJSON (Last Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

toJSON :: Last Name -> Value

toEncoding :: Last Name -> Encoding

toJSONList :: [Last Name] -> Value

toEncodingList :: [Last Name] -> Encoding

Accessible (Maybe (Last Name)) Contact Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.Info.Contact

Methods

access :: Lens' Contact (Maybe (Last Name)) Source #

Accessible (Maybe (Last Name)) Sender Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Sender

Methods

access :: Lens' Sender (Maybe (Last Name)) Source #

data Nick a where Source #

Constructors

Nick :: Name -> Nick Name 
Instances
Accessible Text (Nick Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

access :: Lens' (Nick Name) Text Source #

Show a => Show (Nick a) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

showsPrec :: Int -> Nick a -> ShowS #

show :: Nick a -> String #

showList :: [Nick a] -> ShowS #

FromJSON (Nick Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

parseJSON :: Value -> Parser (Nick Name)

parseJSONList :: Value -> Parser [Nick Name]

ToJSON (Nick Name) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Field.Name

Methods

toJSON :: Nick Name -> Value

toEncoding :: Nick Name -> Encoding

toJSONList :: [Nick Name] -> Value

toEncodingList :: [Nick Name] -> Encoding

Accessible (Maybe (Nick Name)) Sender Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Sender

Methods

access :: Lens' Sender (Maybe (Nick Name)) Source #