简体   繁体   中英

Is there an easy way to see if a user is new or returning user in microsoft bot framework

In Actions on Google - Dialogflow I can write app.getLastSeen() to see if the user is interacting with my bot for the first time or is a returning user. Is there a simple way to handle this with Microsoft Bot Framework (C#) or do I have to implement this functionality myself?

I guess that I should implement it myself, according to https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-state .

State data can be used for many purposes, such as determining where the prior conversation left off or simply greeting a returning user by name.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM