Ejemplo n.º 1
0
 /// <inheritdoc />
 public bool RestoreComment(NotesRestoreCommentParams restoreCommentParams)
 {
     return(_vk.Call(methodName: "notes.restoreComment",
                     parameters: new VkParameters
     {
         { "comment_id", restoreCommentParams.CommentId },
         { "owner_id", restoreCommentParams.OwnerId },
     }));
 }
Ejemplo n.º 2
0
 /// <inheritdoc />
 public Task <bool> RestoreCommentAsync(NotesRestoreCommentParams restoreCommentParams)
 {
     return(TypeHelper.TryInvokeMethodAsync(func: () => RestoreComment(restoreCommentParams: restoreCommentParams)));
 }