Changed GetRoomInfo and GetPreviousMessages to be async.