public IChatPost GetPost(string postId) { var thread = _restService.GetPostById(_uri, _token, _teamId, postId); return(_postFactory.NewInstance(_restService, _uri, _token, _teamId, thread.Posts[postId])); }
public IChatPost GetPost(string postId) { var post = _restService.GetPostById(_baseUri, _token, postId); return(_chatPostFactory.NewInstance(_restService, _baseUri, _token, _teamId, post)); }
public IChatPost GetPost(string postId) { var thread = _restService.GetThreadOfPosts(_baseUri, _token, postId); return(_factory.NewInstance(_baseUri, _token, _userId, thread.Posts[postId])); }