Limitations
The honest list. Read this before relying on the library for anything that matters.
Not tested with a real account
Development had no access to a logged-in account. What was proven:
the WebSocket handshake reaches Bale and returns code 4401 for a
bad token, gRPC-web returns a real transactionHash, and the Bot
API returns a real 401. What was not proven: a full
login, an actual message being delivered, or two clients in a live call.
First things to run with your own credentials:
client = Client("256049633:eyJ…")
await client.start() # 1. login works
print(await client.get_me()) # 2. identity
await client.send_message("me", "test") # 3. delivery
print(await client.create_meet_link()) # 4. meetings
print(await client.get_ongoing_calls()) # 5. calls
Wrapper coverage
| Layer | Count | Status |
|---|---|---|
| Protocol RPCs | 683 | complete |
| Client-level methods | 84 | partial |
| Meet methods | 30 / 30 | complete |
| Messaging | core only | partial |
| Groups (50 RPCs) | 4 wrapped | partial |
| Stories, polls, wallet, bank, ads | 0 wrapped | raw RPC only |
Missing wrappers are not missing capability — client.call(...) reaches all 683.
Protocol drift
The index is pinned to web build 5.5.1. When Bale changes an
endpoint, calls start failing with UNIMPLEMENTED or
INVALID_ARGUMENT. Regenerate with
scripts/build_protocol_index.py.
Media
- Joining a room needs LiveKit.
join_conferencewithoutconnect=Trueperforms metadata RPCs only. - No audio processing helpers. The library gives you a room object; capture, mixing and codecs are yours.
- Video is opt-in but only lightly tested. Voice is the default for a reason.
- Recording and streaming are RPCs, not local capture. They ask Bale's infrastructure to do the work.
Uploads
- The three-step flow is exposed, not hidden. There is no single "send file" RPC in Bale.
- Media dimensions are the caller's responsibility; the library substitutes
1so the variant survives encoding, which is not the same as correct. - Encrypted chats (
nasimEncryptedMessage) are not handled — that needs the client-side key exchange.
Browser session extraction
- Chromium must be closed, or the profile copied, because the cookie database is locked.
- macOS Keychain-encrypted cookies are not decrypted.
- Firefox container tabs are treated as the default container.
Operational notes
| Area | Reality |
|---|---|
| Update delivery | In-memory queue; if the process dies, unprocessed updates are lost |
| FSM storage | MemoryStorage by default — not shared across workers |
| Reconnect | No automatic backoff loop; catch TransportError and reconnect yourself |
| Rate limits | Respect FloodWait.seconds; there is no client-side throttle |
| Threading | Async only. One client per event loop. |
Legal
Not affiliated with or endorsed by Bale. Using it may conflict with Bale's terms of service, and automated accounts can be restricted. Test with an account you can afford to lose.