File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,26 @@ class Activity(Enum):
2929 AWAY = "Away"
3030 PRESENTING = "Presenting"
3131
32+ class PreferredAvailability (Enum ):
33+ """Valid values for Availability."""
34+
35+ AVAILABLE = "Available"
36+ BUSY = "Busy"
37+ DONOTDISTURB = "DoNotDisturb"
38+ BERIGHTBACK = "BeRightBack"
39+ AWAY = "Away"
40+ OFFLINE = "Offline"
41+
42+
43+ class PreferredActivity (Enum ):
44+ """Valid values for Activity."""
45+
46+ AVAILABLE = "Available"
47+ BUSY = "Busy"
48+ DONOTDISTURB = "DoNotDisturb"
49+ BERIGHTBACK = "BeRightBack"
50+ AWAY = "Away"
51+ OFFWORK = "OffWork"
3252
3353class ConversationMember (ApiComponent ):
3454 """ A Microsoft Teams conversation member """
@@ -781,8 +801,8 @@ def set_my_presence(
781801
782802 def set_my_user_preferred_presence (
783803 self ,
784- availability : Availability ,
785- activity : Activity ,
804+ availability : PreferredAvailability ,
805+ activity : PreferredActivity ,
786806 expiration_duration ,
787807 ):
788808 """Sets my user preferred presence status
You can’t perform that action at this time.
0 commit comments