public GetChatMessagesByUserIds ( int fromUserId, int toUserId, string authenticationToken ) : List |
||
fromUserId | int | |
toUserId | int | |
authenticationToken | string | |
Результат | List |
public List<ChatMessage> GetChatMessagesByUserIds(int fromUserId, int toUserId, string authenticationToken)
{
using (var svc = new HttpClientHelper())
{
var result = JsonHelper.DeserializeJson<List<ChatMessage>>(
svc.Get(Constants.BlogRestUrl, string.Format("chat/{0}/{1}", fromUserId, toUserId), authenticationToken));
return result;
}
}