TD.Data.Contact
data Contact Source #
Constructors
Describes a user contact
Fields
Phone number of the user
First name of the user; 1-255 characters in length
Last name of the user
Additional data about the user in a form of vCard; 0-2048 bytes in length
Identifier of the user, if known; 0 otherwise
Defined in TD.Data.Contact
Methods
parseJSON :: Value -> Parser Contact #
parseJSONList :: Value -> Parser [Contact] #
toJSON :: Contact -> Value #
toEncoding :: Contact -> Encoding #
toJSONList :: [Contact] -> Value #
toEncodingList :: [Contact] -> Encoding #
showsPrec :: Int -> Contact -> ShowS #
show :: Contact -> String #
showList :: [Contact] -> ShowS #
(==) :: Contact -> Contact -> Bool #
(/=) :: Contact -> Contact -> Bool #
shortShow :: Contact -> String Source #
defaultContact :: Contact Source #