Articles → MICROSOFT BOT FRAMEWORK → Optional attribute in Microsoft Bot framework

Optional attribute in Microsoft Bot framework






Example




[Optional]
public MaritalStatus ? maritalStatus; 





Output


Picture showing the output of a chatbot when optional attribute is used

Click to Enlarge


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

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250