Rubx Library For Rubika Messenger Of Iran For All
Project description
rubika client | python 3
Document
•
Telegram
•
Rubika
•
Rubx
Messenger:
from rb import StartClient
with StartClient('session') as client:
client.send_message('**Hey** __from__ ``rubx``', 'chat-guid')
Rubino
from rb import RubinoClient
with RubinoClient('session') as app:
app.create_page(...)
Handler
from rb import Handler, EventBuilder, Filters
client = Handler(...)
# handlers: HandShake, ChatsUpdates, MessagesUpdates
client.add_event_handling(func='ChatsUpdates', events=dict(get_chats=True, get_messages=True, pattern=('/start', 'Hey from rubx lib.')))
@client.handler
def hello(app, message: EventBuilder, event):
# to print message: print(message) or print(event)
# to use all methods: app.create_objcet_voice_chat(...)
message.respond(message.pattern, Filters.author) # filters: chat, group, channel, author
Or
from rb import Handler, NewMessage, Filters, EventBuilder
client = Handler(...)
@client.on(NewMessage(client.handle, handle_name='ChatsUpdates'))
def update(event: EventBuilder):
... # event.respond('Hey', Filters.chat)
douc coming soon ...
INSTALLING
pip install rubx
UPGRADE
pip install rubx --upgrade
CREATED BY:
- saleh | rubika.ir/TheServer
self rubika client with python3 RUBX module
rubika library !
view in github :
the special:
- [RUBX] > a library or module 'official' for rubika messnger with client server from iran ! for all .
- [RUBX] > full method and all methods rubika !
- [RUBX] > use api's rubika for you .
- [RUBX] >> joining in anjoman group: https://rubika.ir/programmers_info/CGAJIFHEIBGFCGD)
01110010011101010110001001111000
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rubx-10.2.0.tar.gz
(37.5 kB
view hashes)
Built Distribution
rubx-10.2.0-py2.py3-none-any.whl
(36.2 kB
view hashes)
Close
Hashes for rubx-10.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5cafd415aa6a7a5bb681ec68b8726d27bd8d24c1909c7d68bcbfa6a7100d274 |
|
MD5 | 7fcef8e8a9eae12e915944ef5644d327 |
|
BLAKE2b-256 | 7ecf4bdbc0ae8289311244284bb68f450f9b06f20d72a83a1ecb0537f72a0c35 |