Safe Haskell | None |
---|---|
Language | Haskell2010 |
Web.Telegram.API.Bot.Requests
Contents
Description
This module contains data objects which represents requests to Telegram Bot API
- data SendMessageRequest = SendMessageRequest {}
- data ForwardMessageRequest = ForwardMessageRequest {}
- data SendPhotoRequest = SendPhotoRequest {}
- data SendAudioRequest = SendAudioRequest {}
- data SendDocumentRequest = SendDocumentRequest {}
- data SendStickerRequest = SendStickerRequest {}
- data SendVideoRequest = SendVideoRequest {}
- data SendVoiceRequest = SendVoiceRequest {}
- data SendLocationRequest = SendLocationRequest {}
- data SendChatActionRequest = SendChatActionRequest {}
- data ChatAction
- data AnswerInlineQueryRequest = AnswerInlineQueryRequest {}
- data ReplyKeyboard
- = ReplyKeyboardMarkup { }
- | ReplyKeyboardHide { }
- | ForceReply { }
Types
data SendMessageRequest Source
This object represents request for sendMessage
Constructors
SendMessageRequest | |
Fields
|
data ForwardMessageRequest Source
This object represents request for forwardMessage
Constructors
ForwardMessageRequest | |
Fields
|
data SendPhotoRequest Source
This object represents request for sendPhoto
Constructors
SendPhotoRequest | |
Fields
|
data SendAudioRequest Source
This object represents request for sendAudio
Constructors
SendAudioRequest | |
Fields
|
data SendDocumentRequest Source
This object represents request for sendDocument
Constructors
SendDocumentRequest | |
Fields
|
data SendStickerRequest Source
This object represents request for sendSticker
Constructors
SendStickerRequest | |
Fields
|
data SendVideoRequest Source
This object represents request for sendVideo
Constructors
SendVideoRequest | |
Fields
|
data SendVoiceRequest Source
This object represents request for sendVoice
Constructors
SendVoiceRequest | |
Fields
|
data SendLocationRequest Source
This object represents request for sendLocation
Constructors
SendLocationRequest | |
Fields
|
data SendChatActionRequest Source
This object represents request for sendChatAction
Constructors
SendChatActionRequest | |
Fields |
data ChatAction Source
Type of action to broadcast.
Constructors
Typing | |
UploadPhoto | |
RecordVideo | |
UploadVideo | |
RecordAudio | |
UploadAudio | |
UploadDocument | |
FindLocation |
Instances
data AnswerInlineQueryRequest Source
Constructors
AnswerInlineQueryRequest | |
Fields
|
data ReplyKeyboard Source
Constructors
ReplyKeyboardMarkup | This object represents a custom keyboard with reply options |
Fields
| |
ReplyKeyboardHide | Upon receiving a message with this object, Telegram clients will hide the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button |
Fields
| |
ForceReply | Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot‘s message and tapped ’Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. |
Fields
|