Rocket.Chat.Net.Driver.RocketChatDriver.HideRoomAsync C# (CSharp) Method

HideRoomAsync() public method

public HideRoomAsync ( string roomId ) : Task>
roomId string
return Task>
        public async Task<MethodResult<CreateRoomResult>> HideRoomAsync(string roomId)
        {
            _logger.Info($"Hiding room {roomId}.");
            var results =
                await _client.CallAsync("hideRoom", TimeoutToken, roomId).ConfigureAwait(false);

            return results.ToObject<MethodResult<CreateRoomResult>>(JsonSerializer);
        }