Anonymous Users

Last Edit: Jun 06 2020

If a user is not logged in, you can call the setAnonymousUser method. While you’re anonymous, you can’t do much, but for the livestream channel type, you’re still allowed to read the chat conversation.


await client.setAnonymousUser();
                    

client.setAnonymousUser(null);
                    

Client.shared.setAnonymousUser()
                    

client.setAnonymousUser()