/// <inheritdoc /> public IEnumerable <Note> Get(NotesGetParams notesGetParams) { return(_vk.Call(methodName: "notes.get", parameters: new VkParameters { { "note_ids", notesGetParams.NoteIds }, { "user_id", notesGetParams.UserId }, { "offset", notesGetParams.Offset }, { "count", notesGetParams.Count }, { "sort", notesGetParams.Sort } }).ToReadOnlyCollectionOf <Note>(selector: x => x)); }
/// <inheritdoc /> public Task <IEnumerable <Note> > GetAsync(NotesGetParams notesGetParams) { return(TypeHelper.TryInvokeMethodAsync(func: () => Get(notesGetParams: notesGetParams))); }