<div align="center">
  <h1>Ai Md Baileys</h1>
  <p>A WebSocket-based JavaScript library for interacting with the WhatsApp Web API</p>
  
  [![npm version](https://img.shields.io/npm/v/ai-md-baileys.svg)](https://www.npmjs.com/package/ai-md-baileys)
  [![npm downloads](https://img.shields.io/npm/dm/ai-md-baileys.svg)](https://www.npmjs.com/package/ai-md-baileys)
  [![License](https://img.shields.io/npm/l/ai-md-baileys.svg)](https://github.com/Boy-Offi9/ai-md-baileys/blob/main/LICENSE)
</div>

## Disclaimer

This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with WhatsApp or any of its subsidiaries or affiliates. Use at your own discretion. Do not spam people with this. We discourage any stalkerware, bulk or automated messaging usage.

## Installation

```bash
npm install ai-md-baileys
```

Or using yarn:
```bash
yarn add ai-md-baileys
```

## Quick Start

### CommonJS (Recommended)
```javascript
const { default: makeWASocket, useMultiFileAuthState, Browsers } = require('ai-md-baileys')
```

### ES Modules / TypeScript
```javascript
import pkg from 'ai-md-baileys'
const { default: makeWASocket, useMultiFileAuthState, Browsers } = pkg
```

## Features

- Full WhatsApp Web API support
- Multi-device support with QR code and pairing code authentication
- LID (Link ID) addressing support for both personal chats and groups
- Group status/story sending functionality
- Session management and restoration
- Message sending, receiving, and manipulation
- Group management
- Privacy settings
- Profile management
- And much more!

> **Note:** For sending buttons, please use the [ai-md-btns](https://npmjs.com/package/ai-md-btns) package.

## Documentation

Full documentation is available at [AI MD Baileys]()

