Implemented chat restore

This commit is contained in:
Kenneth Skovhede
2026-02-16 11:31:19 +01:00
parent 42bf8f217c
commit 61dcb52863
7 changed files with 284 additions and 28 deletions
+6
View File
@@ -225,6 +225,12 @@ public class APIHelper
return new HangoutsChatService(GetServiceInitializer(userId, scopes));
}
public HangoutsChatService GetChatCreateSpaceService(string userId)
{
var scopes = new[] { HangoutsChatService.Scope.ChatSpaces };
return new HangoutsChatService(GetServiceInitializer(userId, scopes));
}
private class CompositeHttpClientInitializer : IConfigurableHttpClientInitializer
{
private readonly IConfigurableHttpClientInitializer[] _initializers;