/// <inheritdoc /> public bool Edit(NotesEditParams editParams) { return(_vk.Call(methodName: "notes.edit", parameters: new VkParameters { { "note_id", editParams.NoteId }, { "title", editParams.Title }, { "text", editParams.Text }, { "privacy_view", editParams.PrivacyView }, { "privacy_comment", editParams.PrivacyComment } })); }
/// <inheritdoc /> public Task <bool> EditAsync(NotesEditParams editParams) { return(TypeHelper.TryInvokeMethodAsync(func: () => Edit(editParams: editParams))); }