Metadata-Version: 2.1
Name: PyRubikaBotAPI
Version: 0.0.1
Summary: A Python library to send messages and files via Eitaa API
Home-page: https://github.com/alireza-sadeghian/EitaaSender
Author: Alireza Sadeghian
Author-email: alireza.amid110@gmail.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENCE
Requires-Dist: requests

# PyRubikaBotAPI

یک کتابخانه برای ساخت ربات‌های روبیکا با پایتون

## نصب
```bash
pip install PyRubikaBotAPI

```

## مثال ساده

```python
from rubibot import RubiBot

bot = RubiBot("YOUR_TOKEN")

@bot.message_handler(commands=["start"])
def start(message):
    bot.send_message(message.chat_id, "سلام! خوش آمدید!")

bot.polling()
```

## مثال پیشرفته تر
```py
@bot.message_handler(content_types=['file'])
def handle(msg):
    file_id = msg.file.id
    file_url = bot.get_file(file_id)
    file = bot.download_file(file_url)
    with open('file.format', 'wb') as f
        f.write(file)
    # استفاده از فایل ارسالی
```

## مستندات:

Rubika: https://rubika.ir/pyrubikabotapi
GitHub: https://github.com/alireza-sadeghian/PyRubikaBotAPI
