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

Telegram.Bot.API.Methods.SendMediaGroup

Synopsis

sendMediaGroup

data SendMediaGroupRequest Source #

Request parameters for sendMediaGroup.

Constructors

SendMediaGroupRequest 

Fields

Instances

Instances details
ToJSON SendMediaGroupRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SendMediaGroup

Generic SendMediaGroupRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SendMediaGroup

Associated Types

type Rep SendMediaGroupRequest :: Type -> Type #

type Rep SendMediaGroupRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SendMediaGroup

type Rep SendMediaGroupRequest = D1 ('MetaData "SendMediaGroupRequest" "Telegram.Bot.API.Methods.SendMediaGroup" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "SendMediaGroupRequest" 'PrefixI 'True) (((S1 ('MetaSel ('Just "sendMediaGroupChatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SomeChatId) :*: S1 ('MetaSel ('Just "sendMediaGroupMessageThreadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MessageThreadId))) :*: (S1 ('MetaSel ('Just "sendMediaGroupMedia") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [InputMedia]) :*: S1 ('MetaSel ('Just "sendMediaGroupDisableNotification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "sendMediaGroupProtectContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "sendMediaGroupReplyToMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MessageId))) :*: (S1 ('MetaSel ('Just "sendMediaGroupAllowSendingWithoutReply") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "sendMediaGroupReplyMarkup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe InlineKeyboardMarkup))))))

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.