You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WebUntisAPI.Client/WebUntisClient.Messages.cs
+109-1Lines changed: 109 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,8 +45,11 @@ public async Task<MessagePermissions> GetMessagePermissionsAsync(CancellationTok
45
45
}
46
46
47
47
/// <summary>
48
-
/// Get all available reception people
48
+
/// Get all available reception teachers people
49
49
/// </summary>
50
+
/// <remarks>
51
+
/// Use this method only when <see cref="MessagePermissions.RecipientOptions"/> contains "TEACHER"
52
+
/// </remarks>
50
53
/// <param name="ct">Cancellation token</param>
51
54
/// <returns>The people (<see cref="KeyValuePair{TKey, TValue}.Key"/> is the type of people that are contained in <see cref="KeyValuePair{TKey, TValue}.Value"/>)</returns>
52
55
/// <exception cref="ObjectDisposedException">Thrown when the instance was disposed</exception>
@@ -64,6 +67,111 @@ public async Task<Dictionary<string, MessagePerson[]>> GetMessagePeopleAsync(Can
64
67
returnpersonTypes;
65
68
}
66
69
70
+
/// <summary>
71
+
/// Get all possible filters for the staff
72
+
/// </summary>
73
+
/// <remarks>
74
+
/// Use this method only when <see cref="MessagePermissions.RecipientOptions"/> contains "STAFF"
75
+
/// </remarks>
76
+
/// <param name="ct">Cancellation token</param>
77
+
/// <returns>The filters (the <see cref="KeyValuePair{TKey, TValue}.Key"/> is the type of the filter and <see cref="KeyValuePair{TKey, TValue}.Value"/> are the available filters for that type)</returns>
78
+
/// <exception cref="ObjectDisposedException">Thrown when the instance was disposed</exception>
79
+
/// <exception cref="UnauthorizedAccessException">Thrown when you're logged in</exception>
80
+
/// <exception cref="HttpRequestException">Thrown when an error happened while the http request</exception>
0 commit comments