RubiPY
Python rubika library
Install / Use
/learn @radinparhami/RubiPYREADME
RubiPY
Python Rubika Library [ 1.8 ]
Code
Sample code to log into the user account and forward a message
from rubipy.crypto.values import InData, def_rnd
from rubipy import Client, Filters
from rubipy.types import Message
app = Client("my_account", notif=True)
@app.on_message(Filters.text & Filters.private)
async def receive_message(message: Message):
message_id = message.message_id # Message ID
user_guid = message.user_guid # Object Guid
text = message.text # Message Text
await message.reply(f"Forwarding {text} ...", qute=True)
input_data = dict(
from_object_guid=user_guid,
to_object_guid=user_guid,
message_ids=[message_id],
rnd=def_rnd(),
)
await app.invoke(
InData(
method="forwardMessages", # Method Name
INPUT=input_data, # INPUT Data
)
)
app.run()
Telegram Channel
Related Skills
node-connect
347.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
