🐛 Fix compile errors

This commit is contained in:
2025-07-20 02:35:00 +08:00
parent 4a4e7a302b
commit f70ef0bf97
6 changed files with 8 additions and 419 deletions

View File

@@ -31,7 +31,7 @@ public interface IRealtimeService
Task EndSessionAsync(string sessionId, RealtimeSessionConfig config);
/// <summary>
/// Gets a token for user to join the session (synchronous version for backward compatibility)
/// Gets a token for user to join the session
/// </summary>
/// <param name="account">The user identifier</param>
/// <param name="sessionId">The session identifier</param>
@@ -39,15 +39,6 @@ public interface IRealtimeService
/// <returns>User-specific token for the session</returns>
string GetUserToken(Account account, string sessionId, bool isAdmin = false);
/// <summary>
/// Gets a token for user to join the session asynchronously
/// </summary>
/// <param name="account">The user identifier</param>
/// <param name="sessionId">The session identifier</param>
/// <param name="isAdmin">The user is the admin of session</param>
/// <returns>Task that resolves to the user-specific token for the session</returns>
Task<string> GetUserTokenAsync(Account.Account account, string sessionId, bool isAdmin = false);
/// <summary>
/// Processes incoming webhook requests from the realtime service provider
/// </summary>