public ReadOnlyCollection <Attachment> GetHistoryAttachments(MessagesGetHistoryAttachmentsParams @params, out string nextFrom) { var result = _vk.Call("messages.getHistoryAttachments", @params); nextFrom = result["next_from"]; return(result.ToReadOnlyCollectionOf <Attachment>(o => o)); }
/// <inheritdoc /> public ReadOnlyCollection <HistoryAttachment> GetHistoryAttachments(MessagesGetHistoryAttachmentsParams @params, out string nextFrom) { var result = _vk.Call(methodName: "messages.getHistoryAttachments", parameters: @params); nextFrom = result[key : "next_from"]; return(result.ToReadOnlyCollectionOf <HistoryAttachment>(selector: o => o)); }
public ReadOnlyCollection<Attachment> GetHistoryAttachments(MessagesGetHistoryAttachmentsParams @params, out string nextFrom) { var result = _vk.Call("messages.getHistoryAttachments", @params); nextFrom = result["next_from"]; return result.ToReadOnlyCollectionOf<Attachment>(o => o); }
/// <inheritdoc /> public Task <ReadOnlyCollection <HistoryAttachment> > GetHistoryAttachmentsAsync(MessagesGetHistoryAttachmentsParams @params) { return(TypeHelper.TryInvokeMethodAsync(func: () => GetHistoryAttachments(@params: @params, nextFrom: out var _))); }
public ReadOnlyCollection <Attachment> GetHistoryAttachments(MessagesGetHistoryAttachmentsParams @params) { var parameters = @params; return(_vk.Call("messages.getHistoryAttachments", parameters).ToReadOnlyCollectionOf <Attachment>(o => o)); }
public ReadOnlyCollection <HistoryAttachment> GetHistoryAttachments(MessagesGetHistoryAttachmentsParams @params, out string nextFrom) { throw new NotImplementedException(); }
public Task <ReadOnlyCollection <HistoryAttachment> > GetHistoryAttachmentsAsync( MessagesGetHistoryAttachmentsParams @params) { throw new NotImplementedException(); }
/// <inheritdoc /> public async Task <ReadOnlyCollection <HistoryAttachment> > GetHistoryAttachmentsAsync(MessagesGetHistoryAttachmentsParams @params) { return(await TypeHelper.TryInvokeMethodAsync(() => _vk.Messages.GetHistoryAttachments(@params, out var _))); }
public ReadOnlyCollection<Attachment> GetHistoryAttachments(MessagesGetHistoryAttachmentsParams @params) { var parameters = @params; return _vk.Call("messages.getHistoryAttachments", parameters).ToReadOnlyCollectionOf<Attachment>(o => o); }