MioChat Module
Project description
Vira
Without Token - Way 1
from miochat.vira import ViraChat
phone = "09xxxxxxxxx"
vira = ViraChat()
vira.sendOtpCode(phone)
log = vira.login(phone, input("enter code: "))
print("your token:", log.token)
prompt = vira.sendPrompt("سلام")
print("ai:", prompt.message.content)
With Token - Way 2
from miochat.vira import ViraChat
token = ""
vira = ViraChat(token)
prompt = vira.sendPrompt("سلام")
print("ai:", prompt.message.content)
Prices
gold
from miochat.gold import getGold
price_of_gold = getGold()
print(price_of_gold) # Str | None
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
miochat-1.0.7.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file miochat-1.0.7.tar.gz.
File metadata
- Download URL: miochat-1.0.7.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be1e8e072ebb254da104774382376ba0f1f2a4e35e28caaecbd869996b097ae9
|
|
| MD5 |
f25fe48c5f98e7bc7bb7ce3ef2e333cd
|
|
| BLAKE2b-256 |
c76edecfde96b2227db9ae85b6e3da584fa55a8858ddb23af8c53e63efee2947
|
File details
Details for the file miochat-1.0.7-py3-none-any.whl.
File metadata
- Download URL: miochat-1.0.7-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d056629ac45d667cd5e89f57f2a76390e7100b9bcfba5dbe92c0ab471a91479b
|
|
| MD5 |
58dc1d151bcd3c9beb059ca7e12b638c
|
|
| BLAKE2b-256 |
f0356e22ed9a25f2b7e34a7f9c051efeed1cd02a16ccf3b653a86d127069c3b2
|