Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SendMediaGroupRequest = SendMediaGroupRequest {
- sendMediaGroupChatId :: SomeChatId
- sendMediaGroupMessageThreadId :: Maybe MessageThreadId
- sendMediaGroupMedia :: [InputMedia]
- sendMediaGroupDisableNotification :: Maybe Bool
- sendMediaGroupProtectContent :: Maybe Bool
- sendMediaGroupReplyToMessageId :: Maybe MessageId
- sendMediaGroupAllowSendingWithoutReply :: Maybe Bool
- sendMediaGroupReplyMarkup :: Maybe InlineKeyboardMarkup
- type SendMediaGroup = "sendMediaGroup" :> (ReqBody '[JSON] SendMediaGroupRequest :> Post '[JSON] (Response [Message]))
- sendMediaGroup :: SendMediaGroupRequest -> ClientM (Response [Message])
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.