Пример #1
0
 /// <summary>
 /// Returns a list of comments on a video.
 /// </summary>
 /// <param name="methodParams">A <see cref="VideoGetCommentsParams"/> object with the params.</param>
 /// <returns>Returns a <see cref="List{T}"/> of <see cref="Comment"/> objects.</returns>
 public async Task<Response<ItemsList<Comment>>> GetComments(VideoGetCommentsParams methodParams)
     => await Request<ItemsList<Comment>>("getComments", methodParams);
Пример #2
0
 /// <summary>
 /// Returns a list of comments on a video.
 /// </summary>
 /// <param name="methodParams">A <see cref="VideoGetCommentsParams"/> object with the params.</param>
 /// <returns>Returns a <see cref="List{T}"/> of <see cref="Comment"/> objects.</returns>
 public async Task <Response <ItemsList <Comment> > > GetComments(VideoGetCommentsParams methodParams)
 => await Request <ItemsList <Comment> >("getComments", methodParams);