• Send a group of media.

    To add a caption to the group, add caption to the first media in the group and don't add caption for any other.

    Parameters

    • client: ITelegramClient
    • chatId: InputPeerLike

      ID of the chat, its username, phone or "me" or "self"

    • medias: (string | InputMediaLike)[]

      Medias contained in the message.

    • Optionalparams: CommonSendParams & {
          invertMedia?: boolean;
          progressCallback?: ((index: number, uploaded: number, total: number) => void);
      }

      Additional sending parameters

    Returns Promise<Message[]>

    InputMedia