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