Following the guides (which are incredibly helpful), it seems like the way to create a user is to do so in a Chat Function. The docs state that I can supply the name, display name, and guest status to the
createUser function. We setup all the Firebase stuff locally so we already have profile picture URL and other properties we want to attach to that created user.
Sorry if this is a bit of a silly question, but can we call
updateUser after awaiting
createUser (using properties passed via
authParams) in the Chat Function itself or will we have to update the user with an
updateCurrentUser call (i.e. await the result of
startSession then await the result of