کتابخانه غیررسمی و غیرهمزمان پلتفرم ویراستی
---
pip install aiovir
---
import asyncio
from aiovir import VirastyClient
async def main():
async with VirastyClient(session_file="bot.vir") as client:
await client.login("09123456789", "password")
me = await client.get_me()
print(f"سلام @{me.username}")
asyncio.run(main())
---
---
۱۴۵
۱۷:۴۳
۱۳۵
۱۷:۵۲