Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SendMediaGroupRequest = SendMediaGroupRequest {
- sendMediaGroupBusinessConnectionId :: Maybe BusinessConnectionId
- sendMediaGroupChatId :: SomeChatId
- sendMediaGroupMessageThreadId :: Maybe MessageThreadId
- sendMediaGroupMedia :: [InputMedia]
- sendMediaGroupDisableNotification :: Maybe Bool
- sendMediaGroupProtectContent :: Maybe Bool
- sendMediaGroupMessageEffectId :: Maybe Text
- sendMediaGroupReplyToMessageId :: Maybe MessageId
- sendMediaGroupReplyParameters :: Maybe ReplyParameters
- sendMediaGroupReplyMarkup :: Maybe InlineKeyboardMarkup
- type SendMediaGroup = "sendMediaGroup" :> (ReqBody '[JSON] SendMediaGroupRequest :> Post '[JSON] (Response [Message]))
- sendMediaGroup :: SendMediaGroupRequest -> ClientM (Response [Message])
- defSendMediaGroup :: SomeChatId -> [InputMedia] -> SendMediaGroupRequest
sendMediaGroup
data SendMediaGroupRequest Source #
Request parameters for sendMediaGroup
.
SendMediaGroupRequest | |
|
Instances
type SendMediaGroup = "sendMediaGroup" :> (ReqBody '[JSON] SendMediaGroupRequest :> Post '[JSON] (Response [Message])) Source #
sendMediaGroup :: SendMediaGroupRequest -> ClientM (Response [Message]) Source #
Use this method to send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of Messages that were sent is returned.