Confused about user id


#1

Hello i want to store user specific data and i can’t use user tags because i do not want to save a string i use kvs and i set the value on userID

await kvs.set(userId, templates);

what i do not understand is const userId = event.user.id. Does user A that uses the bot on google chrome have a different user id than User B that also uses chrome if yes any alternatives?


#2

If these are different windows with separate local-storages then yes - these are different users.