ChatterService.ChatterRestService.GetPreviousPage C# (CSharp) Method

GetPreviousPage() public method

public GetPreviousPage ( ChatterResponse resp ) : ChatterResponse
resp ChatterResponse
return ChatterResponse
        public ChatterResponse GetPreviousPage(ChatterResponse resp)
        {
            if (resp.previousPageUrl != null)
            {
                String call = resp.nextPageUrl.Substring(resp.previousPageUrl.IndexOf("/chatter/") + 9);
                return MakeRestCall(call, Method.GET, null);
            }
            return null;
        }