TelegramBot.sendMediaGroup

Send group of photos or videos as an album

  1. Message sendMediaGroup(T chat_id, Algebraic!(InputMediaPhoto, InputMediaVideo)[] media)
    struct TelegramBot
    @trusted
    sendMediaGroup
    (
    T
    )
  2. Message sendMediaGroup(SendMediaGroupMethod m)

Parameters

chat_id T

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

media Algebraic!(InputMediaPhoto, InputMediaVideo)[]

Photos and videos to be sent

Return Value

Type: Message

Sent Message

Throws

TelegramBotException on errors

See Also

Meta