Articles → MICROSOFT BOT FRAMEWORK → Optional Attribute In Microsoft Bot FrameworkOptional Attribute In Microsoft Bot FrameworkIn this article, we will discuss the "Optional" attribute in Microsoft Bot framework.Example In this example, we are marking the property "Marital Status" as optional.[Optional] public MaritalStatus ? maritalStatus; Adding an optional attribute gives one more option "No Preference" in the card.Output Click to EnlargePosted By - Karan Gupta Posted On - Tuesday, October 13, 2020 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
[Optional] public MaritalStatus ? maritalStatus;
Query/Feedback