Articles → MICROSOFT BOT FRAMEWORK → Terms Attribute In Microsoft Bot Framework

Terms Attribute In Microsoft Bot Framework






Purpose




Picture showing the message from the chatbot when wrong value is entered by the user and bot is not accepting the value
Click to Enlarge




Using Terms Attribute




public enum MaritalStatus { [Terms("^M[a-z]*")]
	Married,
	Unmarried,
	Single
}




Picture showing the message from the chatbot when wrong value is entered by the user and bot is accepting the value
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, October 13, 2020

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250