Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SendContactRequest = SendContactRequest {
- sendContactChatId :: SomeChatId
- sendContactMessageThreadId :: Maybe MessageThreadId
- sendContactPhoneNumber :: Text
- sendContactFirstName :: Text
- sendContactLastName :: Text
- sendContactVcard :: Text
- sendContactDisableNotification :: Maybe Bool
- sendContactProtectContent :: Maybe Bool
- sendContactReplyToMessageId :: Maybe MessageId
- sendContactAllowSendingWithoutReply :: Maybe Bool
- sendContactReplyMarkup :: Maybe InlineKeyboardMarkup
- type SendContact = "sendContact" :> (ReqBody '[JSON] SendContactRequest :> Post '[JSON] (Response Message))
- sendContact :: SendContactRequest -> ClientM (Response Message)
sendContact
data SendContactRequest Source #
Request parameters for sendContact
.
SendContactRequest | |
|
Instances
type SendContact = "sendContact" :> (ReqBody '[JSON] SendContactRequest :> Post '[JSON] (Response Message)) Source #
sendContact :: SendContactRequest -> ClientM (Response Message) Source #
Use this method to send phone contacts. On success, the sent Message is returned.