Example #1
0
 /// <summary>
 /// Adds a comment to a post on a user wall or community wall.
 /// </summary>
 /// <param name="methodParams">A <see cref="WallAddCommentParams"/> object with the params.</param>
 /// <returns>Returns the ID of the added comment.</returns>
 public async Task <Response <int> > AddComment(WallAddCommentParams methodParams)
 => await Request <int>("addComment", methodParams, false, "comment_id");
Example #2
0
 /// <summary>
 /// Adds a comment to a post on a user wall or community wall.
 /// </summary>
 /// <param name="methodParams">A <see cref="WallAddCommentParams"/> object with the params.</param>
 /// <returns>Returns the ID of the added comment.</returns>
 public async Task<Response<int>> AddComment(WallAddCommentParams methodParams)
     => await Request<int>("addComment", methodParams, false, "comment_id");