Fast and powerfull Rubika API library for building self bots.
pip install https://github.com/AliNaghdi2006/pyrubi/archive/main.zip
from pyrubi import Client, filters
from pyrubi.types import Message
client = Client("mySelf")
@client.on_message(filters.text("Hello"))
def send_hello(message: Message):
message.reply_text("**hello** __from__ ##pyrubi##")
client.run()
also you can enter your session data manually:
from pyrubi import Client, filters
from pyrubi.types import Message
auth_key = "abcdefghijklnopkrstuvwxyzazxcqwe"
private_key = "-----BEGIN RSA PRIVATE KEY-----\n..."
client = Client(auth=auth_key, private=private_key)
@client.on_message(filters.text("Hi"))
def send_hello(message: Message):
message.reply_text("**hello** __from__ ##pyrubi##")
client.run()
-
Fast : The requests are very fast and optimize.
-
Powerful : While the library is simple, it has high speed and features that make your work easier and faster
-
Easy : All methods and features are designed as easy and optimal as possible