/// <inheritdoc /> public UploadServerInfo GetMessagesUploadServer(long?peerId = null, DocMessageType type = null) { var parameters = new VkParameters { { "peer_id", peerId }, { "type", type } }; return(_vk.Call("docs.getMessagesUploadServer", parameters)); }
/// <inheritdoc /> public Task <UploadServerInfo> GetMessagesUploadServerAsync(long?peerId = null, DocMessageType type = null) { return(TypeHelper.TryInvokeMethodAsync(func: () => _vk.Docs.GetMessagesUploadServer(peerId: peerId, type: type))); }