Telegram.Bot.API.Types.Contact
Contents
Contact
data Contact Source #
This object represents a phone contact.
Constructors
Fields
Contact's phone number.
Contact's first name.
Contact's last name.
Contact's user identifier in Telegram.
Additional data about the contact in the form of a vCard.
Defined in Telegram.Bot.API.Types.Contact
Methods
showsPrec :: Int -> Contact -> ShowS #
show :: Contact -> String #
showList :: [Contact] -> ShowS #
Associated Types
type Rep Contact :: Type -> Type #
from :: Contact -> Rep Contact x #
to :: Rep Contact x -> Contact #
parseJSON :: Value -> Parser Contact
parseJSONList :: Value -> Parser [Contact]
toJSON :: Contact -> Value
toEncoding :: Contact -> Encoding
toJSONList :: [Contact] -> Value
toEncodingList :: [Contact] -> Encoding