Blog.Services.Helpers.Rest.ChatMessagesRestResource.GetMoreChatMessagesByUserIds C# (CSharp) 메소드

GetMoreChatMessagesByUserIds() 공개 메소드

public GetMoreChatMessagesByUserIds ( int fromUserId, int toUserId, string authenticationToken, int skip = 25 ) : List
fromUserId int
toUserId int
authenticationToken string
skip int
리턴 List
        public List<ChatMessage> GetMoreChatMessagesByUserIds(int fromUserId, int toUserId, string authenticationToken, int skip = 25)
        {
            using (var svc = new HttpClientHelper())
            {
                var result = JsonHelper.DeserializeJson<List<ChatMessage>>(
                    svc.Get(Constants.BlogRestUrl, string.Format("chat/{0}/{1}/more/{2}", fromUserId, toUserId, skip), authenticationToken));
                return result;
            }
        }