Skip to main content
Version: 2.2.2-1

Multiclient

One of the main advantages of RimTUB is its support for multi-account (multiclient) functionality. This means that a single UB can work with multiple Telegram accounts simultaneously.

What developers need to know about multiclient:

  • A separate module database is created for each account.
  • The module object (Module) is also always unique. That is, the local storage is isolated as well.
  • There is currently no built-in shared data storage for all accounts in RimTUB. You will need to implement it yourself if required.
  • The on_ready handler will trigger for each account.
  • All clients are stored in the clients list.

What users need to know about multi-account:

  • Modules are shared across all accounts. If a module is not needed on a specific account, it can be disabled (.offm <module_name>). Modules are disabled only for one account.