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

Telegram.Bot.API.Types.Contact

Contents

Synopsis

Contact

data Contact Source #

This object represents a phone contact.

Constructors

Contact 

Fields

Instances

Instances details
FromJSON Contact Source # 
Instance details

Defined in Telegram.Bot.API.Types.Contact

ToJSON Contact Source # 
Instance details

Defined in Telegram.Bot.API.Types.Contact

Generic Contact Source # 
Instance details

Defined in Telegram.Bot.API.Types.Contact

Associated Types

type Rep Contact :: Type -> Type #

Methods

from :: Contact -> Rep Contact x #

to :: Rep Contact x -> Contact #

Show Contact Source # 
Instance details

Defined in Telegram.Bot.API.Types.Contact

type Rep Contact Source # 
Instance details

Defined in Telegram.Bot.API.Types.Contact

type Rep Contact = D1 ('MetaData "Contact" "Telegram.Bot.API.Types.Contact" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "Contact" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contactPhoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "contactFirstName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "contactLastName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contactUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UserId)) :*: S1 ('MetaSel ('Just "contactVcard") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))