In this lesson I will teach my bot to remember my name, and don’t ask me for it every time. It’s time to learn how to use userData.
Once I tell my name to the bot, he will remember it. My name will be stored in session.userData. All data stored in session.userData is persisted across all conversations with the bot.