Open boygoboy opened 1 year ago
Thanks for your feedback, I will add multi-account support
Thanks for your feedback, I will add multi-account support
thank you very much
Try branch dev example/sendMsg.ts, preliminary support for multiple accounts has been added. Currently, user needs to create different clients and save by themselves. Still considering adding support for multiple websockets in the client.
Try branch dev example/sendMsg.ts, preliminary support for multiple accounts has been added. Currently, user needs to create different clients and save by themselves. Still considering adding support for multiple websockets in the client.
awesome i will try it
Multi-account support can be found in README.md
User should manage an envMap themselves
Hello author, I ran your code and found the following code:
Relevant configurations will be written into the .env configuration file, but if I have multiple account requirements, that is, if there are multiple cookies, it seems conflicting to put these configurations in .env. Can it be based on this requirement? Under optimization, these configurations are directly returned to the user for storage by executing await client.init(), and these variables are passed in when the next message is sent or initialized, thank you!